WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Skip navigation coding

for

From: Jim Thatcher
Date: Aug 29, 2005 4:40PM


Hi Helen,



1. Your skip links at the top of the page,

<a href="#localnav" title="go to expanded menu" name="localnav"></a>

<a href="#skip" title="begin main content" name="skip"></a>

Need to have some content. There is nothing for anybody to see.



2. The target must be a named anchor - you didn't close the anchor tag and
just have:

<a name="localnav"> (no closing </a>)



3. You can't use the same name attribute on the link, and the target anchor.




Here is a combination of your links and the targets that would work form the
keyboard according to the current "simplest" coding technique
(http://jimthatcher.com/news.htm#haslayout).



<a href="#localnav" >go to expanded menu </a>

<a href="#skip"> begin main content </a>

.

<span style="position:absolute;"><a name="localnav"
id="localnav">&nbsp;</a></span>

.

<span style="position:absolute;"><a name="skip" id="skip">&nbsp;</a></span>



You may be wanting to hide that skip link content - read about it at
http://jimthatcher.com/webcourse4.htm or
http://rampweb.com/Accessibility_Resources/Section508/skip_navigation.asp
which is more up to date.



Jim



Accessibility Consulting: http://jimthatcher.com/

512-306-0931

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of HAAveling
Sent: Thursday, August 25, 2005 5:17 AM
To: <EMAIL REMOVED>
Subject: RE: [WebAIM] Skip navigation coding



I am still having problems getting this to work.

The following links <a href="#localnav" title="go to expanded menu"
name="localnav"></a>
<a href="#skip" title="begin main content" name="skip"></a> , together with
their named anchors, aren't working as they should do. When I tab through in
IE6 I get the *second* link, then the first link in the menu panel, never
the two 'invisible' links.

See http://users.powernet.co.uk/tanquen/dummy.htm for the file and code.
Where am I going wrong?

BTW, I dont get anything apart from the menu panel links in Firefox.

Helen


At 12:16 18/08/2005, Jim Thatcher wrote:



Try http://jimthatcher.com/skipnav.htm and a very recent update,
http://jimthatcher.com/news.htm#haslayout.

Jim

Accessibility Consulting: http://jimthatcher.com/
512-306-0931

-----Original Message-----
From: <EMAIL REMOVED>
[ <mailto: <EMAIL REMOVED> >
mailto: <EMAIL REMOVED> ] On Behalf Of HAAveling
Sent: Thursday, August 18, 2005 3:13 AM
To: WebAIM Discussion List
Subject: [WebAIM] Skip navigation coding

Please could you suggest where I might look for advice on this, including
how to code the skip nav link. I have looked in the archives but havent
found exactly what I am looking for.

Helen
















--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/75 - Release Date: 17/08/2005