hinderlingvolkart / h123

Accessibility HTML5 Outliner
https://hinderlingvolkart.github.io/h123/
13 stars 2 forks source link

Bookmarklet not displaying elements marked by role="heading" and aria-level="x" #1

Closed janwidmer closed 6 years ago

janwidmer commented 6 years ago

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?

janwidmer commented 6 years ago

Never mind, I used the old version from access4All