Skip to content

Dropdowns should allow keyboard navigation with cursor up/down (ARIA) #241

Closed
@tmorehouse

Description

@tmorehouse

For ARIA accessibility, dropdowns should allow for keyboard navigation.

Cursor up/left should select the previous menu item, and cursor down/right should select the next item.

Each menu item should have a tabindex="0", while the .dropdown-menu div should have a tabindex="-1" which should gain focus() when the dropdown is opened. When closed, the dropdown button should regain focus()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions