The document outline algorithm is a way to use only one heading tag —

— and have it magically “become” the correct level of heading (e.g. It was invented as a generic wrapper for headings so that the browser could determine the HTML5 document outline. In this case, the text of the aria label. Even experienced HTML coders will find a lot to learn. The
element must NOT be a descendant of an
,