rolecombobox
Rolecombobox refers to the ARIA widget pattern for a single-line control that combines a text input with a list of selectable options. It is used for accessible autocomplete interfaces where users can type to filter options or choose from a list. The widget is typically implemented with a container element bearing role="combobox", a text input (native input element) for typing, and a popup list with role="listbox" containing items with role="option". The two parts work together to provide a cohesive, keyboard-navigable control.
In a typical implementation, the input controls the visibility of the listbox via the aria-expanded attribute,
Users interact with the combobox using a combination of keyboard and typing. Common patterns include opening
Accessibility considerations include maintaining clear focus management, ensuring that aria-expanded and aria-activedescendant accurately reflect state, and