radio group
A set of options where exactly one can be chosen, navigated with arrow keys that move both focus and selection.
In more detail
Only the checked radio is in the tab order; arrow keys select the next or previous option. Native <input type="radio"> elements with the same name already behave this way; custom ones use role radiogroup and role radio with roving tabindex.
Related terms
- 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.
- aria-checked — An ARIA state giving the checked state of a checkbox, radio button or switch: true, false or, for checkboxes, mixed.
- 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