HTML aria-selected ARIA Attribute
The aria-selected attribute gives the selected state of an item in a widget that supports selection, such as a tab, an option in a listbox or a cell in a grid.
Description
The aria-selected attribute indicates whether an item is selected. It is used on the items of widgets that support selection: tabs in a tab list, options in a listbox, items in a tree, and rows or cells in a grid. Screen readers announce the state, for example "Overview, tab, selected".
In a single-select widget, only one item has aria-selected="true" and the others should have false, which tells users they are selectable. In a multi-select widget, set aria-multiselectable="true" on the container and set the state on every item. Update the value with JavaScript as the selection changes.
Selection is not the same as being checked or current. For checkboxes and radio buttons use aria-checked, and for the current page in navigation use aria-current.
Properties
Syntax
<element aria-selected="true | false">
Values
- trueThe item is selected.
- falseThe item can be selected but is not selected.
- undefinedThe default: the item can't be selected.
Example
Browser Support
The following information will show you the current browser support for the aria-selected ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





