Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-level

Integer

Defines the hierarchical level of an element within a structure — a heading rank, or the depth of an item in a tree or nested list. It's a positive integer starting at 1 for the top level. Use it on custom headings or tree items where native elements don't already convey the nesting.

Value
Any integer.
Used on
<h1>–<h6><li>
Example
aria-level="…"
<div role="heading" aria-level="2">Section title</div>