jQuery accesskey plugin

There is an attribute on HTML elements, called accesskey. In theory, you set it to a letter, like a, and the browsers provide a convenient way to shortcut focus to that element. However, there is an important problem with the implementation of that feature. Users are not informed of the possibility in any known browser.

This plugin provides a solution. It allows to use a simple shortcut of pressing the corresponding key, without any modifiers. Try pressing a letter a now.

In addition, it informs users about the possibility to use these shortcuts by triggering helpful hints on the press of Tab button. Try it now!

Use it

Grab it on GitHub.

Example content

Simple

Google is a big company. Compare it with Microsoft, another big company.

Repeated accesskey

What if some elements have the same accesskey? Let us see.

Forms

You can shortcut straight to input elements.

Naturally, you cannot jump out of a text entry box. But you can blur it with Esc button, when my plugin is active.

Credits and license

The code is created by me, Denis Sokolov. It is released under GPLv3.