W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] Question: rel="help"

From: Schalk Neethling <sneethling@mozilla.com>
Date: Thu, 29 Sep 2011 19:34:40 +0200
Message-ID: <4E84AC30.9090706@mozilla.com>
Hi Anna,

I heard some mention of using the data-* attributes so, something like:
<a href="" data-tooltip="Some help text"></a>

or

<input type="text" data-tooltip="Some help text" />

Would you agree that this is the better option?

On 29/09/2011 16:50, Anne van Kesteren wrote:
> On Thu, 29 Sep 2011 16:35:33 +0200, Schalk Neethling
> <sneethling at mozilla.com> wrote:
>> Question, would an element with rel="help" and a title="Help text"
>> make sense and be valid as a JavaScript hook for tooltips?
>>
>> Does not match the usage as described by the WHAT-WG
>> (http://developers.whatwg.org/links.html#link-type-help) exactly, but
>> close enough?
>
> If there is no actual hyperlink, using a link relation does not make sense.
>
>

-- 
Kind Regards,
Schalk Neethling
Mozilla Corporation
Received on Thursday, 29 September 2011 10:34:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC