Project

General

Profile

Bug #104530

Updated by Ayke Halder 4 months ago

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. 

 h3. Current state of user journey 

 h4. 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" 

 h4. 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 (…).

Back