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

Switches should be keyboard navigable #167

Closed
ryanflorence opened this issue Dec 19, 2014 · 2 comments
Closed

Switches should be keyboard navigable #167

ryanflorence opened this issue Dec 19, 2014 · 2 comments
Labels
accessibility a11y component: switch This is the name of the generic UI component, not the React module!

Comments

@ryanflorence
Copy link

tabIndex="0" should do the trick.

Also, keyUp of "Space" and keyDown of "Enter" should activate them.

For radio groups, only the active radio button should receive focus on tab, subsequent tabs should jump over the rest. Once one is focused, arrow keys change the selection.

Also, lots of aria stuff for these:

http://www.w3.org/TR/wai-aria-practices/#checkbox
http://www.w3.org/TR/wai-aria-practices/#radiobutton

@akinnee
Copy link

akinnee commented Feb 4, 2015

+1

@hai-cea
Copy link
Member

hai-cea commented Feb 13, 2015

Fixed in v0.7.0

@hai-cea hai-cea closed this as completed Feb 13, 2015
@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added component: switch This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y component: switch This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

5 participants