Re: img alt text, links and titles

Hi Jon,

I noticed when I  have, 

<img src="blah.gif" alt="sensible alt text" title="sensible link
title" /> 

  IE5.5 , Netscape 6.01  and Opera6 only show the title text as tooltip, though both texts are different 

and when I do this:

<a href="blah.html" title="sensible link title"><img src="blah.gif" alt="sensible alt text..>
 
Opera shows the title text and IE 5.5 and Netscape 6.01 the alt text.in a tooltip.

Did you notice that also??

Greetings
Ineke van der Maat

----- Original Message ----- 
From: "Jon Hanna" <jon@spinsol.com>
To: <w3c-wai-ig@w3.org>
Sent: Wednesday, January 16, 2002 3:06 AM
Subject: RE: img alt text, links and titles
> A problem I have been noticing is that Windows (IE and Netscape)
> > will  only show the alt tooltip, where you have got alt text in the
> > image  tag, and title in the link tag - so the title text is not
> > ever 
> > available as a tooltip, on Windows' most common browsers.
> 
> In the case of IE (not the case with NS last time I checked, but I
> haven't installed it since quite a few versions ago) title on the
> image itself will override alt for tooltip selection so:
> 
> <a href="blah.html" title="sensible link title">
> <img src="blah.gif" alt="sensible alt text" title="sensible link
> title" />
> </a>
> 
> will have the correct title, although it's a bit of a kludgy way to
> do so.

Received on Wednesday, 16 January 2002 12:06:40 UTC