Freigeben über


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

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).

 

See also

Accessible Rich Internet Applications (ARIA)

W3C ARIA-Checked