Skip to content

Switches should be keyboard navigable #167

@ryanflorence

Description

@ryanflorence

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions