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

Home -> Internet -> HTML

7606 views

From the computer of: davak (396 recipes)
Created: Sep 30, 2003


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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.

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.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Firefox and IE: Get a Web Developer Toolbar
  Opening Links In a New Window
  Re-Enable Right-Click When Web Pages Turn It Off
  Copyright and Trademark Symbols in HTML
  Friendly color combinations for Web Pages
  IE7 / Firefox: Enable Live Bookmarks or Web Feeds for Your Web Sites
  Prevent IE6 Users from Using the Image Toolbar
  Users Cannot Vertically Scroll in Safari, OmniWeb, Konqueror and WebKit Browsers
  Displaying HTML code inside an HTML document
  Is your site color-blind friendly?

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.