WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Chrome and Skip Links

for

From: Jason Megginson
Date: Apr 28, 2011 9:45AM


What is the syntax your developer is using?

I have found that the following syntax (with tabindex="-1") works the
best:

<a href="#main">Skip to main</a>
...
<a name="main" id="main" tabindex="-1">

Jason Megginson
SSB BART Group
(O):703-637-8964
(C):703-244-7755


-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Tim Harshbarger
Sent: Thursday, April 28, 2011 11:30 AM
To: WebAIM Discussion List
Subject: [WebAIM] Chrome and Skip Links

Do skip links work in Chrome? I have one of our developers saying that he
can't get skip links to work correctly within Chrome. If you click the
skip link, it appears to move focus to the internal anchor on the page,
but if you tab then it acts as though the keyboard focus is still on the
skip link at the top of the page.

Thanks!
Tim
Tim Harshbarger
Accessibility Consultant
State Farm Insurance Companies