Share via


ariaDisabled property

Sets or retrieves the disabled state of this element.

 

Syntax

object.setAttribute("ariaDisabled",value);var value = object.getAttribute("ariaDisabled");

Property values

Type: BSTR

The disabled state.

(true)

The element is inactive.

(false)

Default. Clear the state.

Standards information

Remarks

Used in Roles No role required.

 

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-Disabled