[thelist] RE: removing claret from IE (Here's how to do it)

Rob Redford rob at creativescream.net
Fri Nov 23 17:11:59 CST 2001


<tip author="Rob Redford" type="Stupid Browser tricks">
Accessibility be damned!

If you insist on removing the dotted lines that appear around clicked links, form buttons, and image maps in IE it's easily done and does not affect how other browsers work with the same links.  Simply add this bit of Javascript to your anchor tags or form buttons:

onFocus="if(this.blur)this.blur()"

It's worth noting that any attributes you may have set via HTML or CSS for a:active will cease to work when this is applied (although that effect is often only visible for less than a second, anyway).
</tip>

Frankly, I don't see the what the BFD is about this -- "accessibility" or otherwise.  I find the dotted lines to be intensely annoying (esp. on image maps), and they aren't rendered in most browsers other than IE anyway, so that (IMHO) makes any argument for accessibility moot.  The claret is not a standard as such, although it is common to most Micro$oft products.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Best Regards,
Rob Redford, 11/22/2001 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 







More information about the thelist mailing list