ariaReadonly property

Sets or retrieves the read-only state of this element.


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

Property values

Type: BSTR

The read-only state.


The value of the element cannot be changed.


Default. The value of the element can be modified.

Standards information


Used in Roles grid gridcell textbox

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