ARIA listbox Role
The listbox role marks a list of options from which the user can choose one or more, such as a custom select box. The select element with several visible rows has this role.
Description
The listbox role identifies a widget that lets the user select one or more items from a list of choices. Its items have the option role, and can be organized with group elements. A <select> with multiple or a size greater than 1 has this role; a normal drop-down <select> is a combobox.
The listbox needs an accessible name. It is a single Tab stop: the arrow keys move between options, Home and End go to the ends, and typing a letter moves to the next matching option. For multiple selection, add aria-multiselectable="true" and set aria-selected on each option.
Options can only hold text and images; for a list of items that contain links or buttons, use a plain list instead.
Use the native HTML <select>, <datalist> element where you can: it already has the listbox role, with the expected keyboard and browser behavior built in.
Properties
- Category
- Composite Widget
- HTML equivalent
<select>,<datalist>- Accessible name from
- author
- Required parent role
- None
- Required child roles
group,option
ARIA Attributes
- Required
- None
- Supported
aria-activedescendant,aria-errormessage,aria-expanded,aria-invalid,aria-multiselectable,aria-orientation,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="listbox">
Example
Browser Support
The following information will show you the current browser support for the listbox ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





