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

Improve accessibly of counter action buttons #57

Open
jnahumphreys opened this issue Jan 25, 2024 · 0 comments
Open

Improve accessibly of counter action buttons #57

jnahumphreys opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jnahumphreys
Copy link
Owner

jnahumphreys commented Jan 25, 2024

The counter action buttons should:

  • provide visual focus style changes
  • allow focus when disabled, but prevent action (not allowed cursor)
  • be contained within an element of role toolbar, to allow for swifter keyboard navigation
  • all buttons within the toolbar should be focusable using keyboard arrow keys
  • when a button within the toolbar has focus, the toolbar should receive a visual style change to denote the area has focus
  • the toolbar should default to the first non-disabled button on first interaction, on subsequent interactions the last focused button should receive focus, if this button is disabled, we revert to the first focusable button

Example

ARIA toolbar role guide

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

No branches or pull requests

1 participant