tab-navigation-fix
v1.0.0
Published
Fix anchor jumps on chrome and IE for tab navigation
Downloads
4
Maintainers
Readme
tab-navigation-fix
It is recommended to use Skip navigation links on you website, that allow screen reader users to skip ahead to the main content. However in IE and Chrome there is a bug that internal anchor links are not working properly with tab navigation (Which is commonly used by screen reader users).
What happens is that the tab navigation will remain at the first element and not jump to the anchor like we see it visually.
This is a drop-in implementation of the fix described here: http://www.nczonline.net/blog/2013/01/15/fixing-skip-to-content-links/
Side effect is that it changes elements that are usually not tabbable to be tabbable. (Is that even a word?)
usage
require('tab-navigation-fix')()