ARIA combobox Role
The combobox role marks an input that controls a popup, usually a listbox of suggestions, from which the user can pick a value or type their own.
Description
The combobox role identifies an input widget that controls another element, usually a listbox, that can pop up to help the user set its value. Autocomplete search fields, address finders and "select-only" custom drop-downs are all comboboxes.
In ARIA 1.2 the role goes on the focusable element itself, normally the text <input>. It requires aria-expanded to show whether the popup is open, and uses aria-controls to point to the popup and aria-activedescendant to point to the highlighted option while focus stays in the input. aria-autocomplete describes how suggestions work. The Down arrow opens the popup, Enter accepts an option and Escape closes it.
Native elements cover many cases: a <select> has the combobox role, and an <input> with a list attribute pointing to a <datalist> gives simple suggestions without any script.
Use the native HTML <input>, <select> element where you can: it already has the combobox role, with the expected keyboard and browser behavior built in.
Properties
ARIA Attributes
- Required
aria-expanded- Supported
aria-activedescendant,aria-autocomplete,aria-controls,aria-errormessage,aria-haspopup,aria-invalid,aria-readonly,aria-required- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="combobox">
Example
Browser Support
The following information will show you the current browser support for the combobox ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





