Setting up shortcuts (access keys) to links within web pages

Contributor Icon Contributed by David Kirk     
Tag Icon Tagged: HTML  

Using accesskeys to setup unique shortcuts within a web page.


In certain situations creating shortcuts to help navigate web pages may be helpful. For example if you had a long ordered list, you could set ALT-A to jump to the “A” links, ALT-R to jump to the “R” links, and so on.

Obviously, this is also helpful for those who like to or need to drive a browser without a mouse.

<a href="http://www.tech-recipes.com/" accesskey=t>

The above code shows how to add the accesskey information to a link to allow the establishment of an access key.

Each browser handles accesskey differently. To see what accesskey combination you need to use you can reference the access key article on wikipedia.

Scroll this area off the page… and then press your accesskey and T to see this affect. If the link below is visible on the page, it may not jump.

Pressing your accesskey and T should jump to this link.

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -