[thelist] Good alt texts [was .gif texts]

Aylard JA (James) jaylard at equilon.com
Tue Jul 11 13:58:38 CDT 2000


Comharsa wrote:
> alt="" alt="description here"
> 
> Apparently browsers that need the alt tag will use the second 
> one, while the
> tooltip will come from the first so not appear.

	When would you really want to do this? In most cases, just one alt
attribute with an appropriate descriptive word or phrase is sufficient. For
graphics where alt text is undesirable (such as a spacer gif), an empty
string (meaning alt="", and *not* alt=" ") prevents the major browsers, at
least, from rendering a tool tip while still allowing the page to validate.
As Aardvark suggested earlier, such a straightforward approach seems best
all the way around.

James Aylard
jaylard at equilon.com




More information about the thelist mailing list