WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Speaking of "Skip to" links


From: Jukka K. Korpela
Date: Dec 15, 2004 12:54AM

On Tue, 14 Dec 2004, terence wrote:

> To have the link go to the H2 heading, the anchor
> element should surround the text in the H2 element, that is, the A
> element should be inside the H2 element, not before it. In some older
> graphical browsers this results in an underline of the text which also
> may be colored blue by default;

What might those browsers be? I have never seen a browser that underlines
or colors a simple destination anchor (an A element with NAME attribute
and without HREF attribute). Using CSS carelessly, an author could create
such a situation, but you need not do so. (When styling links, one should
normally use selectors like :link and :visited, not the element name A

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/