<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36" -->

---
title: heading‍offset is Not the Document Outline Algorithm
description: The `headingoffset` HTML attribute, recently announced for Firefox behind a flag, is being mistakenly celebrated as a revival of the long-dead Document Outline...
canonical: https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: heading‍offset is Not the Document Outline Algorithm | daily.dev
og:description: The `headingoffset` HTML attribute, recently announced for Firefox behind a flag, is being mistakenly celebrated as a revival of the long-dead Document Outline...
og:url: https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36
og:image: https://api.daily.dev/og/posts/ixQmdWm36.png
og:image:alt: heading‍offset is Not the Document Outline Algorithm
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[Adrian Roselli](https://daily.dev/sources/adrianroselli)

[Read post](https://api.daily.dev/r/ixQmdWm36)

# [heading‍offset is Not the Document Outline Algorithm](https://api.daily.dev/r/ixQmdWm36 "Go to post")

The \`headingoffset\` HTML attribute, recently announced for Firefox behind a flag, is being mistakenly celebrated as a revival of the long-dead Document Outline Algorithm. It is not. \`headingoffset\` lets authors manually offset heading levels for descendants of a given node — useful for content reuse — but it still requires intentional author decisions. The browser gains no new understanding of content structure. Key constraints: values must be non-negative integers between 0 and 8, values over 8 max at level 9, and \`headingreset\` can override it. Authors should not use it until browser support is confirmed, and should not expect it to automatically resolve heading level problems in imported or user-generated content, as doing so risks WCAG violations.

[#html](/tags/html "Check all #html posts")[#accessibility](/tags/accessibility "Check all #accessibility posts")

Jun 11•4m read time•From [adrianroselli.com](https://api.daily.dev/r/ixQmdWm36 "adrianroselli.com")

[![Post cover image](https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012)](https://api.daily.dev/r/ixQmdWm36 "Go to post")

Table of contents

[Background # anchor](https://api.daily.dev/r/ixQmdWm36?a=Background "Background # anchor")[headingoffset # anchor](https://api.daily.dev/r/ixQmdWm36?a=headingoffset "headingoffset # anchor")[Recap # anchor](https://api.daily.dev/r/ixQmdWm36?a=Recap "Recap # anchor")[Related # anchor](https://api.daily.dev/r/ixQmdWm36?a=Related "Related # anchor")[Tags](https://api.daily.dev/r/ixQmdWm36 "Tags")[Other Posts](https://api.daily.dev/r/ixQmdWm36 "Other Posts")[No comments? Be the first!](https://api.daily.dev/r/ixQmdWm36 "No comments? Be the first!")

86.3K Impressions40 Upvotes1 Repost

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![Adrian Roselli's image](https://media.daily.dev/image/upload/s--srPC5zE---/f_auto/v1710012549/logos/adrianroselli)](https://daily.dev/sources/adrianroselli)

[Adrian Roselli](https://daily.dev/sources/adrianroselli "https://daily.dev/sources/adrianroselli")

Adrian Roselli is a web developer, accessibility advocate, and expert in web standards. Readers can ... Read more

37 Followers

•

203 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

40

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"heading‍offset is Not the Document Outline Algorithm","url":"https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36"},"datePublished":"2026-06-11T21:29:59.142Z","dateModified":"2026-06-12T06:19:46.794Z","description":"The `headingoffset` HTML attribute, recently announced for Firefox behind a flag, is being mistakenly celebrated as a revival of the long-dead Document Outline...","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"Adrian Roselli","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Adrian Roselli","logo":"https://media.daily.dev/image/upload/s--srPC5zE---/f_auto/v1710012549/logos/adrianroselli","url":"https://daily.dev/sources/adrianroselli"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/heading-offset-is-not-the-document-outline-algorithm-ixqmdwm36","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":40},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"html,accessibility","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Adrian Roselli","item":"https://daily.dev/sources/adrianroselli"},{"@type":"ListItem","position":3,"name":"heading‍offset is Not the Document Outline Algorithm"}]}
```

