[thelist] alt tags

Mark Gallagher mark at cyberfuddle.com
Wed Jul 24 11:16:07 CDT 2002

Tom Dell'Aringa wrote:
> In IE the alt tag shows up as a title. Is this standard across
> browsers? I want to say somebody said something about the right

No!  It's a stupid, stupid, stupid, "feature".  It can be useful
(sometimes an image is unclear, or the text is too small to read - also
it's good for remembering if you've included ALT text), but it's led to
more bad authoring practices WRT accessibility than any other browser
peccadillo I'm aware of.

What's this about "the right click", though?  What do you mean?

> click. What if you would need to use like 30-40 characters in your
> alt text - but the title box that pops up obscures something else?
> For non-impaired users, that is quite annoying.

<img src="foo.png" alt="the mating call of the foo sounds, to human
ears, like the word 'bar' - we don't know why" width="100" height="100"
title="" />

Where IE comes across both TITLE and ALT, it wisely chooses to stop
being a moron and gives TITLE priority.  So, if you specify a null
TITLE, nothing will pop up.

(BTW, ALT is an *attribute*, not a tag)


Mark Gallagher

More information about the thelist mailing list