WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: visual focus for anchor tags

for

From: William Lawrence
Date: Feb 15, 2011 9:00PM


> A link that has empty content
> and points to itself is not a normal link, and although there's probably
> some good intent behind it, it would more natural to use just an
> id="content" attribute on the first element of the main content.

I second what Jukka said.

However, on a more important note, and one that would've avoided this
issue altogether, is that the purpose of the link must be determined
from the link text alone. Without text content between the opening and
closing tags of the anchor element, irregardless of platform or user
agent, that link will cause more confusion than it's worth.

William