aria-readonly attribute | ariaReadonly property (Internet Explorer)

Switch View :
ScriptFree
aria-readonly attribute | ariaReadonly property

[This documentation is preliminary and is subject to change.]

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

Internet Explorer 8

Syntax

HTML
<element aria-readonly="p" ... >
JavaScript
object.setAttribute("aria-readonly",value);var value = object.getAttribute("aria-readonly");

Property values

Type: String

The read-only state.

(true)

The value of the element cannot be changed.

(false)

Default. The value of the element can be modified.

Remarks

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

 

 

Build date: 2/13/2012