tree: aab335c104e2ea3a9c306f001e32a421e016757a [path history] [tgz]
  1. demo/
  2. test/
  3. .bower.json
  4. .gitignore
  5. .travis.yml
  6. bower.json
  8. index.html
  9. iron-a11y-keys-behavior.html

Build Status

Demo and API Docs


Polymer.IronA11yKeysBehavior provides a normalized interface for processing keyboard commands that pertain to WAI-ARIA best practices. The element takes care of browser differences with respect to Keyboard events and uses an expressive syntax to filter key presses.

Use the keyBindings prototype property to express what combination of keys will trigger the event to fire.

Use the key-event-target attribute to set up event handlers on a specific node. The keys-pressed event will fire when one of the key combinations set with the keys property is pressed.