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

Re: feedback on guidelines from DHTML developer

From: Ian Jacobs <ij@w3.org>
Date: Wed, 13 Jan 1999 13:53:59 -0500
Message-ID: <369CEBC7.BF06231F@w3.org>
To: "Charles (Chuck) Oppermann" <chuckop@microsoft.com>
CC: Wendy A Chisholm <chisholm@trace.wisc.edu>, w3c-wai-gl@w3.org
Charles (Chuck) Oppermann wrote:
> 
> I agree.  There needs to be a CSS attribute to control the rendering of the
> ALT and TITLE attributes.  Possible values would be:  TOOLTIP or NONE.  That
> way, the author can control the visual appearance, and if required, the user
> can override it.

You can control the rendering of the "alt" and "title" attributes
with CSS2:
 a) Get the value of the attribute with an attribute selector
 b) Use :before or :after to insert the text (whose style can
    be specified) before or after the element's content.

This is, of course, different from the current tooltip mechanism
which does not involve/change the document's rendering at all.
With relative positioning, the 'visibility' property, and scripts,
you can even simulate a tooltip effect.
 
 - Ian

-- 
Ian Jacobs (jacobs@w3.org) 
Tel/Fax: (212) 684-1814 
http://www.w3.org/People/Jacobs
Received on Wednesday, 13 January 1999 13:55:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:46:59 GMT