ts0

ts0

thoroughly scientific

Transient Skip Links

"Skip links" is the name given to a little accessibility feature, simply a link that uses an anchor to skip you down the page to make keyboard navigation easier. If you see them it's usually right at the top over the site navigation, so a user doesn't have to tab through the whole nav to get to the content.

Quite often you won't see them though, unless you use view source, many people choose to hide them using CSS. If you move them off the screen with a position:absolute then they will still be read out by screen readers. It's easy to forget that blind users make up a tiny fraction of web users suffering a disability. Many more people rely solely on their keyboard to use the web than screen readers, they range from stroke victims to sufferers of spinal injuries or motor neurone disease.

So should you display the skip links? Well people confined to keyboards still make up a small fraction of users on the web, and when you start adding links to all sections that may want to be skipped it can become a disadvantage to none disabled users. What you want is for the links to only appear when they're needed, which is so easy to do with a :focus.

You can add the following HTML to the top of the body: With this CSS: Try tabbing from the top of this page and you'll see how it works, it's simple and works on all major browsers.

Labels:

2 Comments
ts0
Thom Shannon's background in making chips gives him a unique insight into the web development industry. As the Technical Director of Glow New Media he works with clients across the UK to deliver high quality web marketing solutions using the latest techniques, accessibility practices, and web standards in both straight and crinkle cut.


Download a vCard (for Outlook)

Friends



Find Me (and my Social Graph)



RSS Feed

Archives 08.06 09.06 10.06 11.06 12.06 01.07 02.07 03.07 04.07 05.07 06.07 07.07 08.07 09.07 10.07 11.07 12.07 01.08 02.08 03.08 04.08



Thomas Shannon-Smith
Tom Shannon-Smith
Tom Shannon
Thom Shannon-Smith