Bug #104530
openKeyboard usage in Module Menu: use of ENTER/SPACE not consistent
0%
Description
Use of ENTER/SPACE in Module Menu for sub-menus must be consistent.
On ENTER/SPACE:
- If sub-menu is closed: jump to first sub-menu entry - and of course open the sub-menu
- If sub-menu is open: also jump to first sub-menu entry.
The current state is to close the sub-menu on ENTER/SPACE if it is already opened.
Current state of user journey¶
If sub-menu is closed:¶
- User focuses sub-menu via arrow-keys -> screen-reader: "Web menu - opens menu"
- User presses ENTER
- The sub-menu opens and first element of sub-menu is focused. -> screen-reader: "Web menu - Page"
If sub-menu is already open:¶
- User focuses sub-menu via arrow-keys -> screen-reader: "Web menu - opens menu"
- User presses ENTER
- The sub-menu closes -> screen-reader: "Web menu - opens menu"
- User presses ENTER
- The sub-menu opens and first element of sub-menu is focused. -> screen-reader: "Web menu - Page"
See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/menu_role
If focus was on the menu button, Enter opens the menu, giving focus to the first menu item.
If focus is on the menu itself, Escape closes the menu and returns focus to the menu button or parent menubar item (…).
Updated by Gerrit Code Review 4 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85475
Updated by Ayke Halder 4 months ago
- Related to Epic #91518: Keyboard usage in the TYPO3 backend added
Updated by Gerrit Code Review about 1 month ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85475