Hi There,
I found your bookmarklet and it's very usefull. For a POC, I created a document simulating a correct header structure by using role="heading" and aria-level="x".
According to the source code of the bookmarklet, those simulated headings should be correctly detected, but when opening the bookmarklet, they "pseudo" headings do not get displayed.
I inserted part of the bookmarklet's code into my example page. It is the part where you loop over all headings and elements having a role attribute. At least the console output seems to be correctly..
Hi There, I found your bookmarklet and it's very usefull. For a POC, I created a document simulating a correct header structure by using role="heading" and aria-level="x".
According to the source code of the bookmarklet, those simulated headings should be correctly detected, but when opening the bookmarklet, they "pseudo" headings do not get displayed.
You can see my example page here: https://www.widmer-web.ch/Heading-Structure.html
I inserted part of the bookmarklet's code into my example page. It is the part where you loop over all headings and elements having a role attribute. At least the console output seems to be correctly..
Any idea what I could be doing wrong?