OLD | NEW |
| (Empty) |
1 | |
2 <!--- | |
3 | |
4 This README is automatically generated from the comments in these files: | |
5 iron-a11y-keys-behavior.html | |
6 | |
7 Edit those files, and our readme bot will duplicate them over here! | |
8 Edit this file, and the bot will squash your changes :) | |
9 | |
10 --> | |
11 | |
12 [](https://travis-ci.org/PolymerElements/iron-a11y-keys-behavior
) | |
13 | |
14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-a11y-key
s-behavior)_ | |
15 | |
16 | |
17 ##Polymer.IronA11yKeysBehavior | |
18 | |
19 | |
20 `Polymer.IronA11yKeysBehavior` provides a normalized interface for processing | |
21 keyboard commands that pertain to [WAI-ARIA best practices](http://www.w3.org/TR
/wai-aria-practices/#kbd_general_binding). | |
22 The element takes care of browser differences with respect to Keyboard events | |
23 and uses an expressive syntax to filter key presses. | |
24 | |
25 Use the `keyBindings` prototype property to express what combination of keys | |
26 will trigger the event to fire. | |
27 | |
28 Use the `key-event-target` attribute to set up event handlers on a specific | |
29 node. | |
30 The `keys-pressed` event will fire when one of the key combinations set with the | |
31 `keys` property is pressed. | |
32 | |
33 | |
OLD | NEW |