Don’t forget keyboard navigation

Many developers take for granted that everybody uses a mouse to interact with the web. I don’t have any numbers, but it is indeed likely that the majority of people are primarily mouse users.

However, some people choose not to use a mouse because they find using the keyboard to navigate is faster. Others simply cannot use a mouse and are forced to use other input devices.

Either way, accommodating people who do not use a mouse is not very difficult:

  • Make sure that all interactive objects can be activated by the keyboard alone
  • Use the :focus CSS pseudo-class to highlight elements when they receive focus

Testing how you’re doing is easy – just unplug your mouse and try using the site you’re working on.

Further reading:

This post is a Quick Tip. Background info is available in Quick Tips for web developers and web designers.

Posted on May 13, 2009 in Accessibility, Quick Tips, Usability

Comments are disabled for this post, but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.

Subscribe to the RSS feed for 456bereastreet.com

Sponsors

Authentic Jobs

Authentic Jobs: Come in, we're hiring

Job openings from Authentic Jobs

Advertise here

DreamHost web hosting

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost