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

Increase efficiency of use for keyboard users when tabbing through the toolbuttons container #323

Open
3 tasks done
julkuh opened this issue May 28, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@julkuh
Copy link
Contributor

julkuh commented May 28, 2024

Issue description

This issue is about increasing the efficiency of use for keyboard users when tabbing through the toolbuttons container (e.g. the ones in the bottom right corner of the map of the sample app).

Currently the whole container is marked as role="toolbar". Due to the "toolbar" role, a screenreader user expects the following behavior (which is useful for all other keyboard users too):

  1. The whole container (the one with role="toolbar") is focusable by tabbing onto it
  2. As soon as the container is focused, the tools inside can be navigated through the arrow keys on keyboard. If a tool is disabled, it is skipped.
  3. Pressing tab again, move the focus away from the toolbar over too the next focusable element (which is not a tool inside the container of course).

Example: https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/examples/toolbar/

Please also consider a correct aria-orientation attribute with a value of either "horizontal" or "vertical", depending of the alignment of the toolbuttons.

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants