listbox
Composite widget roleA widget presenting a list of options from which the user can select one or, with aria-multiselectable, several. Selection is tracked with aria-selected on each option, and it's navigated with the arrow keys. It underlies select-style and combobox popups; prefer a native `<select>` for simple cases.
Used on
A container presenting a list of selectable options.
Required properties
aria-multiselectable— if more than one option may be selected
Accessible name
Required, via aria-labelledby or aria-label.
Used by components
Example
role="listbox"
<ul role="listbox" aria-label="Colors">
<li role="option" aria-selected="true">Red</li>
</ul>References