E-mail List Archives
Re: IMG with a caption?
From: Tim Beadle
Date: Mar 7, 2005 2:02AM
- Next message: Jane Depriester-Morandini: "Excel and JAWS"
- Previous message: reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;: "Re: text links on a separate page - compliant with 508?"
- Next message in Thread: None
- Previous message in Thread: Webmaster: "Re: IMG with a caption?"
- View all messages in this Thread
"webmaster29" < <EMAIL REMOVED> >
wrote on 05/03/2005 07:47:27:
> Thanks Joelle! Great article. As for the ALT, it also shows the short
> text for the sighted readers when the pointer is over an image. I
know
> it works on IE, but on Firefox ALT does not show anything.
That's correct. Firefox does the right thing with
ALT text - it's an alternative. Unfortunately, people expect FF to behave
like IE, which uses ALT text for tooltips and is wrong.
> So I add TITLE. For example <img src="someimage.png"
ALT="some image
> short description" TITLE="some image short description">
Then the
> description appears both on IE and Firefox. I do not know if it is
right
> or wrong way to do it (any idea?), but at least the text appears on
both
> IE and Firefox.
Wrong, I'd say, but I'm a bit of a purist in this regard. Would this confuse
a screenreader, or lead to the text being read out twice? Either way, IE's
"ALT-text in tooltips" is wrong. Did I mention that already...?
:)
If you want tooltip text to appear in both IE and
FF, use the title attribute. This applies to any element that legally takes
the title attribute, not just IMG.
Regards,
Tim
Institute of Physics
Registered charity No. 293851
76 Portland Place, London, W1B 1NT, England
IOP Publishing Limited
Registered in England under Registration No 467514.
Registered Office: Dirac House, Temple Back, Bristol BS1 6BE England
This e-mail message has been checked for the presence of computer viruses.
- Next message: Jane Depriester-Morandini: "Excel and JAWS"
- Previous message: reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;: "Re: text links on a separate page - compliant with 508?"
- Next message in Thread: None
- Previous message in Thread: Webmaster: "Re: IMG with a caption?"
- View all messages in this Thread