Javatpoint Logo
Javatpoint Logo

Polymer - Iron A11y Keys

The <iron-a11y-keys> element is used to process keyboard commands using cross browser interface.

The keys attribute indicates by what combination of keys the event will be triggered. It accepts modifier keys such as Shift, Control, Alt, Meta and some common keyboard keys such as a-z, 0-9, F1-F12, Page Up, Page Down, Left Arrow, Right Arrow, Home, End, Escape, Space, Tab, and Enter.

All the keys should be shortened and should be in lowercase. For example, Right Arrow is for right, Page Up is for page up, Control is for ctrl, Escape is for esc, F5 is for f5, etc.

Let's take an example to demonstrate the usage of Iron A11y Keys:

Open your command prompt and use the following code to navigate to your project folder to use the iron-a11y-keys element.

This will install the iron-a11y-keys element in bower_components folder. Next, import the iron-a11y-keys file in your index.html using the following command.

Example:


Next TopicIron Ajax





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA