# headingoffset is Not the Document Outline Algorithm

DevFeed: [headingoffset is Not the Document Outline Algorithm](<https://devfeed.tech/articles/headingoffset-is-not-the-document-outline-algorithm-54722.md>)

Original publisher: [Read original article](<https://adrianroselli.com/2026/06/headingoffset-is-not-the-document-outline-algorithm.html>)

Author: Adrian Roselli

Published: 2026-06-11T21:26:45Z

Content type: opinion

Language: en

Sources: [Adrian Roselli](<https://devfeed.tech/sources/adrian-roselli.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>), [aria](<https://devfeed.tech/topics/aria.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [browser](<https://devfeed.tech/tags/browser.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [html](<https://devfeed.tech/tags/html.md>), [risk](<https://devfeed.tech/tags/risk.md>), [standards](<https://devfeed.tech/tags/standards.md>), [usability](<https://devfeed.tech/tags/usability.md>), [ux](<https://devfeed.tech/tags/ux.md>), [wcag](<https://devfeed.tech/tags/wcag.md>), [web](<https://devfeed.tech/tags/web.md>), [whatwg](<https://devfeed.tech/tags/whatwg.md>)

## AI overview

The article explains that the proposed Document Outline Algorithm was never finalized in HTML and was found impractical. It clarifies that headingoffset can adjust heading levels for descendants, including reused content, but does not make browsers infer document structure or eliminate the author's accessibility responsibilities and WCAG risk.

## Source excerpt

Hi, just me heading off some bad advice I'm starting to see in developer venues. Background The proposed Document Outline Algorithm, where headings would automatically reset themselves to the appropriate level based on their position in the DOM structure, was never part of a final HTML specification. It was quickly...