accessibility extensions for prototpyeJS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
prototype.a11y.js
prototype.min.js
test.html

README.md

prototype-a11y

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

Credits

Created by Sindre Wimberger.