Share via


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

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).

 

See also

Accessible Rich Internet Applications (ARIA)

W3C ARIA-Level