Navigation Menubar Example: When focus is in 2nd level submenu, Escape is closing both submenus instead of focusing on parent in first level submenu. #595
Labels
bug
Code defects; not for inaccurate prose
Example Page
Related to a page containing an example implementation of a pattern
Feedback
Issue raised by or for collecting input from people outside APG task force
question
Issue asking a question
Milestone
https://www.w3.org/TR/wai-aria-practices/#menu
"Escape: Close the menu that contains focus and return focus to the element or context, e.g., menu button or parent menuitem, from which the menu was opened."
Technically, if in a submenu then the element that opened that submenu would be the menuitem one level up. The example in the APG shows that Escape closes the entire menu, instead of just the current submenu though. Could this be made clearer in the APG of what to do in the case of currently being in a submenu?
The text was updated successfully, but these errors were encountered: