Home

Even Grounds, Accessibility Consulting

Making web sites, documents, software and hardware accessible to people with disabilities. Accessibility, WCAG and Section 508 compliance testing and auditing.

  • Services
  • About Us
  • Customers
  • Contact Us
  • Articles
  • Blog
  • Developers' Corner
  • Press
  • Resources

Are You Receiving the Accessibility Tips and Tricks?

  • Learn to make information accessible to people with disabilities
  • Implement what you learn right away
  • Understand how people with disabilities use technology
  • Receive our monthly newsletter packed with news, articles and updates
  • Bonus workbook: Ten steps to a more accessible web site


Do you need help with accessibility? Hire us!

Using Access Keys

  • Developers' Corner
  • Access keys

Access keys refer to keys which, if activated, would take you to a link, a button, a specific part of a page, or a new page.

For example, if a web page contains an access key of Alt+H for the “Help” section, pressing Alt+H would load the “Help” section of the site. In some browsers, pressing the access key will only take you to the location of the link, button, or section of the page.

Here, we will provide the codes for making access keys and will talk about their benefits and the issues associated with them.

How to Create Access Keys

First, determine the page you wish to go to using the access key. In this example, we will assign an access key to the link for the accessibility statement of a site.

Next, create the link to the target page and add the “accesskey” attribute to the code. The value of the accesskey attribute is the character included in the keystroke for the access key. Here, we declare the letter “A” as the value of the accesskey attribute.


<a href=”accessibility_statement.html” accesskey=”A”>Accessibility Statement</a>

Given this example, when the user presses Alt+A, the browser will load the site’s accessibility statement page.

Benefits of Access Keys

Access keys can be very helpful for persons with motor disabilities. Since people with motor disabilities may have difficulty in using the mouse, they can press an access key to either go to another part of the same page or to a different page.

Access keys also help blind and visually impaired persons. These individuals normally use screen readers which read the contents of a page in a linear fashion (i.e. from top to bottom). This is very different from the way sighted people use web pages. Using access keys, screen reader users do not have to go through all of the page’s content to access a specific part of the page or move to a new page.

Issues in Using Access Keys

No Conventional Use

A major problem concerning access keys is that they have no conventional use. The developer of the page is the one who determines which access key should be assigned to a button or link. So for users to utilize access keys effectively, they first have to figure out what the access keys are. This may cause difficulties as access keys may be different in every site.

Frequency of Page Visits

Another issue concerns the number of times the users visit a page. There are pages which users access on a daily basis. If users access the page very often, they would be able to learn the access keys. From then on, this would help them access content more quickly.

On the other hand, there are pages which users visit only once or twice a month. In this case, it might not be worth it for users to learn the access keys in the page.

Exact Number of Access keys

The exact number of access keys is another issue. There is no specific rule telling developers which links should have access keys. Some sites even have access keys for most of its links. At this point, it becomes too much both for the site developers and the users.

To solve this problem, web developers have to carefully decide which are the most important links in their sites. Developers also have to know how often people use their sites. Only then can they determine whether or not it is a good idea to provide access keys.

Conflict with Browsers

Moving on, access keys may also conflict with browsers. Different browsers have different shortcut keys. If an access key conflicts with any of the shortcut keys of a browser, then the access key will not work. So developers have to find an access key that is not used by any of the browsers. This can be particularly difficult as there is a lot of shortcut keys that have already been used by browsers.

Conflict with Assistive Technology

Access keys may also conflict with assistive technologies. Access keys are intended to help people with disabilities. However, these individuals normally use assistive technologies which also have their own shortcut keys.

Take screen readers for instance. These applications use a set of shortcut keys to help users navigate through pages and access web content. Developers have to make sure their access keys do not conflict with the shortcut keys used by screen readers and other similar technologies. Again, this can make it hard to pick an access key that would work.

Bookmark/Search this post with:
  • Delicious
  • Digg
  • StumbleUpon
  • Facebook
  • Google
  • Yahoo
  • Technorati

Nicely written article sir.

Submitted by John F Croston III (not verified) on Fri, 01/15/2010 - 11:48.

Nicely written article sir.

Back in August of 2008, I also did an article on my blog also about "How to Set Up and Use Access Keys", which can be found here - http://www.jfciii.com/blog/2008/08/04/how-to-set-up-and-use-access-keys/

I did a bunch of testing and then explaining how the different browsers and the different version of the browsers work with the access keys. This is also broken down to between PC's and MAC's.

  • reply

So Why Advocate Use?

Submitted by Susan R (not verified) on Fri, 01/15/2010 - 12:02.

I believe that Access Keys are an accessibility failure and shouldn't be used. There are almost no combinations (if any) left that are safe to use currently that won't conflict with something. Another solution is needed and these need to go away.

  • reply

Thanks for sharing

Submitted by Tom on Fri, 01/15/2010 - 14:15.

John, thanks for sharing your article. It appears to be a very contraversial issue, so I hope different approaches will help people.

  • reply

Advocating access keys?

Submitted by Tom on Fri, 01/15/2010 - 14:20.

Susan,
Actually I personally would not advocate access keys. While I can see the use of it here and there, over-all they add to the confusion, and personally I don't like them. However, this is a question that has been discussed recently. I also met developers who believed that this is the only way of making a site fully accessible. So, I just wanted to put out a couple of guidelines to show the pros and cons. Ultimately the developer has to make the final decision.

  • reply

I believe that Access Keys

Submitted by orjin krem (not verified) on Wed, 02/02/2011 - 05:57.

I believe that Access Keys are an accessibility failure and shouldn't be used. There are almost no combinations (if any) left that are safe to use currently that won't conflict with something. Another solution is needed and these need to go away.

  • reply

Re: Using Access Keys

Submitted by Tom on Mon, 10/31/2011 - 14:56.

considering the great variety of browsers and assistive technologies, it is really hard to find good combinations. Also, access keys will lose their relevance when using on a mobile device.

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

This blog uses CommentLuv plugin which will try and parse your sites feed and display a link to your last post, please be patient while it tries to find it for you
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Accessibility Tips and Tricks


RSS

  • Articles
  • Blog
  • Developers' Corner
  • News
  • Press

Follow us on Twitter, YouTube, or on Facebook

You Might Also Like:

  • Making the iPhone Keyboard Accessible
  • Save a Lot by Choosing the Right Widgets
  • Pages Opening in a New Window
  • Free Screen Readers
  • The Secret of Making PDF Documents Section 508 Compliant Much Faster

Top Commentators

  • y8 (8)
  • kizi (5)
  • y8 (5)
  • ben10 (5)
  • friv (5)
  • miniclip (5)
  • guest (4)
  • Kizi (4)
  • nike shox pas cher (4)
 

Privacy Policy

Copyright 2007-2011 - Even Grounds Inc., Accessibility Consulting