Firefox for Web Developers

@firefoxwebdevs
4.5K Followers
3 Following
496 Posts
Official Firefox account for people who build on the web. Learn about the things we're working on to grow and improve the web platform.
@alfonsoml yeah, it'll depend on how the tool gets its information. If it's reading the DOM itself, then it'll get the wrong answer, but these tools tend to read the a11y tree, and we expose the correct level there when you use headingoffset.
@noleli @mdekstrand and it starts with saying it's only currently in Firefox Nightly, behind a flag.
@alfonsoml accessibility should be for people
HTML Standard

@tommi it should just work in those cases, no?
HTML Standard

@timsev headingoffset can be used on any HTML element (it won't work on SVG or MathML elements)
@simoncox for me, this solves a problem I've had since the days of Apache SSIs and PHP includes.
@mausmalone personally, I've had this problem from Apache SSIs to Markdown includes to components like the example. But maybe I've been hit by this issue more than most folks though.
@aardrian I didn't take it as pedantry at all. It's an important detail.