From: Jim Correia <[EMAIL PROTECTED]>
Subject: Re: remove link outlines?
Date: Wed, May 30, 2001, 12:03 PM
> On 2:51 PM 5/30/01 "Tantek Celik" <[EMAIL PROTECTED]> wrote:
>
>> Actually, this seems like a really bad idea, as it disables an
>> accessibility feature - that of being able to "tab" to links and press
>> "enter" to activate them.
>>
>> Rather than screwing with the focus - how about simply:
>>
>> a:focus { outline:none }
>>
>> in a style sheet on your page?
>>
>> See CSS2 for details on ":focus" and the "outline" property.
>
> But now I can tab to the links, but have no visual feedback as to what
> link I am on. That seems almost as bad as not being able to tab to them
> in the first place. The outline may be "ugly" but it serves as an
> important piece of feedback. If you remove it, the feature becomes
> worthless to me. Please don't remove it. If I wanted it off, I would
> have turned it off. If you must remove it, please give the a:focus
> style some other visual designation that the item has focus. (I know I
> can probably override this with an important rule in my own style sheet,
> but the average web user won't - just wonder why tabbing is broken on a
> particular page.)
Jim is right of course - don't leave your users without feedback.
The style rule above just shows how to turn off the default rendering.
What you do in its place probably depends on the visual look of your page.
Some simple options:
- change the outline to something else, e.g.
a:focus { outline:thin solid yellow }
- use a background color change instead
a:focus { outline:none; background:yellow }
- use a foreground color change
a:focus { outline:none; color:purple }
- use underlines for focus instead of always
a:link,a:visited { text-decoration:none }
a:focus { outline:none; text-decoration: underline }
etc.
You can try all these in your user style sheet to see how they look on other
web pages also.
Tantek
----------------------------------------------------------------------------
The rest is left as an exercise to the reader. microsoft.com/mac/ie/
To unsubscribe send mail to [EMAIL PROTECTED]
To search the archives:
<http://www.mail-archive.com/macie-talk%40lists.boingo.com/>