Listbox
Component preview
An always-visible list of named options where keyboard focus and selection are managed as one composite control.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: option list, selection list, multi-select list
Try it
Compare all three behaviors
Shared comparison scenario: A form asks the user to choose one value from a known option set before continuing.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Listbox
Listbox keeps options visible as one composite control; Select hides them in a picker, and Combobox adds an editable query.
Your task
Focus the list, reach Last 30 days with arrows, select it, and verify the selected state remains visible.
Edge case to verify
A disabled custom range is announced, skipped when required by the keyboard model, and never mistaken for the selected value.
Mission
Focus the list, reach Last 30 days with arrows, select it, and verify the selected state remains visible.
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Label
The persistent text that names a control or field.
Select offers a closed fixed list without text filtering; Combobox includes an editable query, while Listbox keeps options visibly available.
SelectCombobox accepts an editable query and coordinates it with options; Select is closed and fixed, while Listbox is an always-visible option collection.
ComboboxNavigate options
Arrow keys move the active option, and selection is announced independently from focus.
Select one value
Choosing an option replaces the previous value and exposes the selected state.
Default preset selected
Default preset selected
Last 30 days selected
Last 30 days selected
Default preset selected → Last 30 days selected
Arrow navigation reaches Last 30 days and the selection command commits it.
Last 30 days selected → Default preset selected
Navigation returns to the default preset and the selection command commits it.
select[size]
Equivalence caveat: A native sized select is used for the simple specimen. A custom ARIA listbox requires full option navigation and selection behavior.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Listbox: listbox and option semantics plus focus, selection, and keyboard interaction guidance.
WHATWG · standard · 2026-07-16
Claim covered: Listbox: native select semantics, option selection, form participation, and platform interaction.
Verified on 2026-07-16 · rev. 1