ariaChecked property
Sets or retrieves the checked state of this element.
Syntax
object.setAttribute("ariaChecked",value);var value = object.getAttribute("ariaChecked");
Property values
Type: BSTR
The checked state.
(true)
The element is selected.
(false)
The element is not selected.
(mixed)
The element indicates both selected and unselected states.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
Used in Roles | option |
This property indicates whether a user has chosen any items.
Note For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example object.setAttribute("aria-valuenow", newValue)
.