aria-level attribute | ariaLevel property (Internet Explorer)

Switch View :
ScriptFree
aria-level attribute | ariaLevel property

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

Sets or retrieves the level of this element.

Internet Explorer 8

Syntax

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

Property values

Type: Number

The level.

Remarks

This property indicates the level of an element within a structure. The level value is 1 or greater.

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

 

 

Build date: 2/13/2012