WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: visual focus for anchor tags

for

Number of posts in this thread: 3 (In chronological order)

From: Hoffman, Allen
Date: Mon, Feb 14 2011 8:45AM
Subject: visual focus for anchor tags
No previous message | Next message →

Just noticed that IE7 when tabbed to an anchor tag loses visual focus
indication.
FireFox puts a small red dot there in this circumstance.
Anybody know if IE8 or 9 fix this?
Why is focus lost for anchor tags?
Why does even FireFox use such a not so highly visible focus indicator
for anchor tags?


Allen Hoffman

From: Gunderson, Jon R
Date: Mon, Feb 14 2011 10:09AM
Subject: Re: visual focus for anchor tags
← Previous message | Next message →

I suggest if you are developing a website to set you own focus styling using CSS psuedo elements:

.active
.focus
.hover

Example website using this:
http://www.oaa-accessibility.org/

Jon



From: William Lawrence
Date: Mon, Feb 14 2011 10:15AM
Subject: Re: visual focus for anchor tags
← Previous message | No next message

Correct me if I'm wrong or missing your question, but...

Expected browser behavior is that only when an anchor element contains
an HREF attribute in the opening anchor tag will the anchor element
ever receive visual focus.

If anything else is happening that is providing unexpected behavior
across different browsers, then the issue may exist in a different
layer of the DOM, e.g. CSS or JavaScript.

Cheers!
William



On Mon, Feb 14, 2011 at 10:44 AM, Hoffman, Allen < = EMAIL ADDRESS REMOVED = > wrote:
> Just noticed that IE7 when tabbed to an anchor tag loses visual focus
> indication.
> FireFox puts a small red dot there in this circumstance.
> Anybody know if IE8 or 9 fix this?
> Why is focus lost for anchor tags?
> Why does even FireFox use such a not so highly visible focus indicator
> for anchor tags?
>
>
> Allen Hoffman
>