A JavaScript parser to add the correct "aria-level" in all the headings tag on my page to prevent the bug with JAWS 12 and 13 in Internet Explorer
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
test.html
test2.html
test3.html
test4.html

README.md

ariaLevelParser

A JavaScript parser to add the correct "aria-level" in all headings tags of my page to prevent the bug with JAWS 12 and 13 in Internet Explorer. Based on "JAWS, IE and Headings in HTML5".

This parser modify the code from HTML5 outliner from Google Code to add a method that insert a value for the attribute "aria-level". This value is calculated from the tree of the outliner.

You can obtaine the same result of the HTML5 outliner if you use the HeadingsMap addon for Firefox.

For more information about the HTML5 algorithm please visit, Sections and Outlines of an HTML5 Document .

Tests pages

There are several HTML tests pages with differents examples of sections, nav, headings, etc... Each test contains the HTML and the result output by the HTML5 outliner.

TODO

Refactor the code of the HTML5 outliner.

Issues

Please, feel free to report any issue you experiment via Github.

Author

Félix Zapata