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.
In more detail
This is called virtual focus. A combobox keeps focus in its text input so the user can keep typing, and updates aria-activedescendant as arrow keys move through the suggestions. Screen readers announce the referenced option.
Related terms
- combobox — A text input combined with a popup list of suggestions that filters as you type.
- roving tabindex — A technique where only the active item in a group has tabindex="0" and the rest have tabindex="-1", so the group is one tab stop and arrow keys move between items.
- composite widget — An interactive component made of several focusable items, such as a toolbar, tab list, menu or radio group, that acts as one tab stop.
Taught in
- Keyboard Navigation Protocols: Roving Tabindex & Virtual Focus — Design Systems & Component Engineering