Skip to content

Dropdown arrow key interaction #1002

@jgiardino

Description

@jgiardino

For Dropdown keyboard interaction to be consistent with the ARIA Authoring Practices Guide and with more complex but similar components like type-ahead select, we should implement arrow key interaction.

Interaction should be based on the documentation provided by ARIA Authoring Practices Guide for the Menu Button, which also references documentation provided for Menus that describes how to navigate within a menu once it's visible.

See this comment below with specific details on what these updates are.

Note that the Dropdown currently has two variations, one that displays a menu and one that could display any contents. The arrow key interaction would be implemented for the menu variation only. The other variation would be handled more like a modal or popover in terms of how keyboard interaction is implemented (see issues #839 for trapping focus in the dropdown panel, and #561 for trapping focus in the modal).

Also note that at this point in time, we will not implement the keyboard interaction labeled as optional for Menu Buttons. See the comments below for more details. Refer to comment below for latest updates on this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions