Typically, HTML headings are only able to go up to <h6>
before it becomes invalid. As far as I can tell, the following is a completely valid way to create a <h7>
element in HTML:
<h6 aria-level="7">This is a heading level 7 element</h6>
I have tested this in NVDA in Chrome, Firefox and Internet Explorer and it works as intended.
I don't really have access to any other screen readers though. Can someone with access to lots of screen reader / browser combinations confirm whether the above is consistently conveyed to the user as a <h7>
element?
If you know of a screen reader / browser combination where this technique definitely doesn’t work, please let me know.