headingLevel property
final
The heading level in the DOM document structure.
This is only applied to web semantics and is ignored on other platforms.
Screen readers will use this value to determine which part of the page structure this heading represents. A level 1 heading, indicated with aria-level="1", usually indicates the main heading of a page, a level 2 heading, defined with aria-level="2" the first subsection, a level 3 is a subsection of that, and so on.
Implementation
final int? headingLevel;