W3C home > Mailing lists > Public > www-html@w3.org > February 2001

Re: Alt and Title attributes with A anf IMG as tooltip

From: Clover Andrew <aclover@1value.com>
Date: Mon, 12 Feb 2001 12:09:29 +0100
Message-ID: <D58B0195B58937489E89124469E57CA20D4F83@EX1.1value.com>
To: <www-html@w3.org>
Alessando MelÚ <alessandro.melo@nettuno.it> wrote:

> I know that an extra information about the link goes on A tag,
> but doing so title text disappear. I don't need the alt(ernative)
> text as tooltip

You are quite correct. Since alt-text is supposed to be a
replacement for graphical content instead of additional
information, showing the alt-text as a tooltip in addition to
showing the image itself is inappropriate, despite it being
common legacy-browser behaviour.

So to answer the question, (1) is correct and works properly
in Mozilla and Opera. If you really want IE/Win users to see
the title text you could use (2) or duplicate the title in
both elements. It's not pretty but it'll do until such time
as MS can be persuaded to fix it.

(Netscape 4 you can forget since it doesn't support title
at all.)

Andrew Clover
Technical Consultant
Received on Monday, 12 February 2001 06:17:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC