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

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 UTC