aria-selected
BooleanIndicates the selection state of an item in a widget that supports selection, such as an option, tab, or gridcell. In a single-select widget exactly one item is selected, and it should track the user's choice as they navigate. It differs from focus, the focused (active) item and the selected item may or may not be the same, depending on the interaction model.
Values
- true
- The item is selected.
- false
- The item is selectable but not currently selected.
- undefined (default)
- The item is not selectable.
Used on
<option><tr><td><th>
Example
aria-selected="…"
<div role="tab" aria-selected="true">Profile</div>References