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

Contributor Icon Contributed by davak Date Icon September 30, 2003  
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.


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

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

Pressing ALT-T should jump to this link.

Previous recipe | Next recipe |
 
blog comments powered by Disqus