W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2001

Re: !title, !alt Re: Tooltips in HTML

From: Charles McCathieNevile <charles@w3.org>
Date: Thu, 26 Jul 2001 03:06:11 -0400 (EDT)
To: Jonathan Chetwynd <j.chetwynd@btinternet.com>
cc: WAI IG <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0107260254240.24859-100000@tux.w3.org>
Having a Tooltip is something that a browser chooses to do (or not). There
are many other strategies - for example adding the text of the alt attribute
under the image, or speaking it as the user tabs to it, or whatever.

What happens in Explorer or Netscape (or maybe both) is that the attribute is
presented on mouseover.

You could hack up something to sort of do this in javascript as follows

<a href="blah" onfocus="window.status='whatever is in the alt'"
  onblur="window.status=''"><img src="something" alt="whatever is in the alt"
/></a>

(Better check that - I might have got my javascript wrong...) But I haven't
thought about whether that causes further problems.

chaals

On Thu, 26 Jul 2001, Jonathan Chetwynd wrote:

  It seems that there is a title tag and an alt tag,
  if there is no title tag the alt tag is used to raise a label else the title
  tag is used.
  in neither instance does tabbing seem to raise a label.

  Hopefully this covers a few aspects of what may be a 'missing' facility.

  jonathan chetwynd
  IT teacher (LDD)
  j.chetwynd@btinternet.com
  http://www.peepo.com         "The first and still the best picture directory
  on the web"


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Thursday, 26 July 2001 03:06:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:55 GMT