W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2000

Re: Tool Tip behavior

From: Karl Ove Hufthammer <huftis@bigfoot.com>
Date: Sat, 26 Feb 2000 17:05:15 +0100
Message-ID: <002d01bf8073$6512f9c0$89369fc3@huftis>
To: "Kynn Bartlett" <kynn-hwg@idyllmtn.com>, "Gregory J. Rosmaita" <unagi69@concentric.net>
Cc: "WAI Interest Group Emailing List" <w3c-wai-ig@w3.org>
----- Original Message ----- 
From: "Gregory J. Rosmaita" <unagi69@concentric.net>
To: "Kynn Bartlett" <kynn-hwg@idyllmtn.com>
Cc: "WAI Interest Group Emailing List" <w3c-wai-ig@w3.org>
Sent: Saturday, February 26, 2000 9:11 AM
Subject: RE: Tool Tip behavior

> in response to len, you wrote, quote:
> Proper titling should be done despite whatever the user agents decide to 
> do.  If there needs to be a specific TOOLTIP attribute,that might be the 
> best approach for certain user agents, using extensible additions to XHTML.
> unquote
> or via an extension to CSS -- if you can define a cursor, why not a 
> tooltip?  after all, they do have their uses -- even i can "see" that -- 


Yes, that sounds like a great idea. 'display: tooltip' perhaps? But there has to be a way to define *which* element it should be a tooltip for ...

Hmm, perhaps using the parent element would work?

<p>Neque porro quisquam est qui <em>dolorem <span class="footnote">(Ut aliquid ex ea commodi consequatur?)</span></em> ipsum quia dolor sit amet.

with span.footnote { display: tooltip; width: 10em; height: auto; background: #F3F3BE; color: black; }

"Ut aliquid ex ea commodi consequatur?" could now be displayed as a tooltip for the 'em' element (dolorem). This would of course not work with *empty* elements, e.g. 'img'.

Karl Ove Hufthammer
Received on Saturday, 26 February 2000 11:06:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:07 UTC