accessibility functions for Prototype Javascript Framework
- Prototype.a11y.prepareBuffer();
- Prototype.a11y.updateBuffer(); updates virtual buffer for screenreader JAWS inspired by juicystudio
- Prototype.a11y.fixFocus(); inspired by Paul Ratcliffe
new Element.Methods
- Element.setTabIndex(index); crossbrowser implementation
- Element.removeTabIndex(); crossbrowser implementation
- Element.setFocus(miliseconds); delayed element.focus();
extended Element.Methods
- Element.hide(); added aria-hidden attribute and tabindex -1
- Element.show(); added aria-hidden attribute and tabindex
Created by Sindre Wimberger.