WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: skip to content, where and how many?

for

From: jukka.korpela
Date: Feb 28, 2002 11:47PM



Jim Thatcher wrote:

> I think many don't realize that <A name="skiptarget"></A> is just fine.

I'm afraid too many people think it's just fine.

> No content is necessary.

So how are user agents supposed to implement elements with empty content?
Saying nothing, showing nothing, is the most obvious approach.

Admittedly, for <a name="..."></a>, the situation is somewhat different.
But user agents have been reported to ignore such elements. Odd, in a way,
but why take unnecessary risks? Besides, it's illogical.

Normally
<h2><a name="...">...</a></h2>
or similar construct with a lower level heading is. Even more logically,
one would use <div id="...">...</div> to specify the _part_ of a document
referred to (not just a starting location), but this has more limited
browser support.

--
Jukka K. Korpela, erityisasiantuntija / senior adviser
TIEKE Tietoyhteiskunnan kehitt