Sets or retrieves the selection state of this element.
object.setAttribute("ariaSelected",value);var value = object.getAttribute("ariaSelected");
The selection state.
The element is selected.
The element is not selected.
Default. The element state is unknown.
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
|Used in Roles||
Selecting an element indicates that it is chosen for an action, and most likely has focus.
Note For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example