ariaLevel property
Sets or retrieves the level of this element.
Syntax
object.setAttribute("ariaLevel",value);var value = object.getAttribute("ariaLevel");
Property values
Type: short
The level.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
Used in Roles | grid heading listitem row tablist |
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)
.