Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11y: keyboard navigation within StrucutredNavigation component #766

Open
2 tasks
Dananji opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks

A11y: keyboard navigation within StrucutredNavigation component #766

Dananji opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request structured_nav Improvements/fixes in structured nav

Comments

@Dananji
Copy link
Collaborator

Dananji commented Jan 31, 2025

Description

StructuredNavigation component can have a larger number of focus-able child elements. When using keyboard navigation, the user must use Tab/Shift+Tab keys to navigate through these elements to get to the next UI element on the page.

For an example: in the Ramp demo page, to view Files tab keyboard user must tab through the player and then all the time-span elements in the StructuredNavigation component.
This degrades the user experience when using the keyboard to navigate to some parts of the page.

To avoid this we can use a suitable design pattern incorporating ARIA-roles and tabindexes in these child elements within the StructuredNavigation component.

Possible solution:
Use Tab and Shift+Tab keys to navigate into and out of the component, while using arrow keys to navigate within the StructuredNavigation component.

Done Looks Like

  • Research and select a suitable design pattern from https://www.w3.org/WAI/ARIA/apg/patterns/ that can be either used directly or adapt to solve the issue (some possible patterns: accordion, tree view)
  • Use the selected design pattern to integrate ARIA-roles and tab-indexes to help navigate within the component
@Dananji Dananji added enhancement New feature or request structured_nav Improvements/fixes in structured nav labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request structured_nav Improvements/fixes in structured nav
Projects
None yet
Development

No branches or pull requests

1 participant