/ariaLevelParser

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

Primary LanguageJavaScript

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" http://www.accessibleculture.org/articles/2011/10/jaws-ie-and-headings-in-html5/.

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