Skip to content

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

Notifications You must be signed in to change notification settings

felixzapata/ariaLevelParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published