What the person is doing
The available values should remain visible while users choose.
Application · lesson 9 of 20 · Selection And Choice
Underlying principle: Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
Use a listbox when users benefit from seeing the available options while moving focus through the list and selecting one or more static values.
Choice controls express how many options are available, how many may be selected, and when the selection takes effect. The control should reveal the meaning and consequence of each choice.
The available values should remain visible while users choose.
Use a listbox when users benefit from seeing the available options while moving focus through the list and selecting one or more static values.
Empty or initial state with visible label and at least one option.
Do users need the options visible all the time, or is this really a select or combobox?
The listbox has a visible label or accessible name and contains or owns every option.
The available values should remain visible while users choose.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The available values should remain visible while users choose.
Use a listbox when users benefit from seeing the available options while moving focus through the list and selecting one or more static values.
Empty or initial state with visible label and at least one option.
Screen readers announce only a long flattened option string because semantic headings or controls were placed inside the option.
Use role listbox on the container and role option on every selectable item.
W3C Web Accessibility Initiative - checked
APG defines listbox as a visible selectable option list, with single and multi-select behavior, focus versus selection, typeahead, Home and End, grouped options, selection state, and nested-interactive-content limits.
MDN Web Docs - checked
MDN documents the listbox role, option requirements, aria-selected, aria-activedescendant, aria-multiselectable, required and read-only states, native alternatives, and keyboard behavior.
Source trail checked: