-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Labels
accessibilityImprove accessibilityImprove accessibilitybugpriority: lowSeverity level: 3Severity level: 3
Milestone
Description
roving-tabindex-controller ignores for expandable items
For components with complex navigation, such as navigation with expandable submenus, roving-tabindex controller has the following issues:
- listeners are set to host when only the items should have listeners.
- vertical navigation is disabled for
aria-expanded=trueitems when navigation should be enabled and include navigation to any children that are on its items list. - currently allows navigation for
aria-expanded=falseitems when it should skip children
Steps to reproduce
- Go to the rh-menu demo.
- Using a keyboard focus on the menu button while closed.
- Press the down arrow. Nothing should happen.
- Press enter to open the menu.
- Press the down arrow. Focus should be set on the active subitem.
Expected behavior
- Go to the rh-menu demo.
- Using a keyboard focus on the menu button while closed.
- Press the down arrow.
- If item is part of a larger roving tabindex group, like a parent menu, focus should be on the next sibling. If item is not part of a larger roving tabindex group, nothing should happen.
- Press enter to open the menu.
- Press the down arrow. Focus should be set on the active subitem.
Metadata
Metadata
Assignees
Labels
accessibilityImprove accessibilityImprove accessibilitybugpriority: lowSeverity level: 3Severity level: 3