listbox
The ARIA role for a list of options the user can select from, such as the suggestions under a combobox.
In more detail
Options use role option and one of them can be marked with aria-selected. When a combobox opens a listbox, aria-activedescendant points at the highlighted option.
Related terms
- combobox — A text input combined with a popup list of suggestions that filters as you type.
- aria-activedescendant — An ARIA property that points, by id, at the option that is currently active inside a widget, while real keyboard focus stays on the widget itself.
- aria-selected — An ARIA state marking which item is selected in widgets such as tabs, listboxes and grids.
Taught in
- Keyboard Navigation Protocols: Roving Tabindex & Virtual Focus — Design Systems & Component Engineering