[thelist] Image border

David Dorward david at david.us-lot.org
Sat May 4 04:04:01 CDT 2002


On Fri, May 03, 2002 at 02:33:06PM -0500, john-paul wrote:

>> How do I manipulate this so that the user does not see this dotted
>> outline?

> If you are willing to use some javascript, I think
> <a href="whatever" onFocus="this.blur();">
> will work in your situation.

It won't work for some users though. Not everybody uses a pointing
device, either becuase they don't like them, don't have one, or is
physically incapable of using one. These people generally navigate
using the tab key to select items and then the return key to
`click'. With the above code the tab key would focus the link, then
before they could `click' on it the JavaScript would zap the focus
back to before the first element on the page.

Congratualtions, you have made that element inaccessible to keyboard
users.


http://www.allmyfaqs.com/faq.pl?How_do_I_get_rid_of_the_dotted_border_when_a_linked_image_is_clicked

http://www.allmyfaqs.com/faq.pl?Dotted_box_on_a_linked_image



More information about the thelist mailing list