<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7736</bug_id>
          
          <creation_ts>2009-09-26 22:11:36 +0000</creation_ts>
          <short_desc>add tooltip attribute &amp; keep title for other uses</short_desc>
          <delta_ts>2010-10-05 13:03:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML Microdata (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Levinson">Nick_Levinson</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27691</commentid>
    <comment_count>0</comment_count>
    <who name="Nick Levinson">Nick_Levinson</who>
    <bug_when>2009-09-26 22:11:36 +0000</bug_when>
    <thetext>The title attribute has multiple uses, sometimes confusingly. They mainly support tooltips. In the abbr and old acronym elements, they commonly support both tooltips and text-to-speech (TTS) pronunciations. In another element or two or so, they have other uses.

While tooltips are often positive, they can interfere with a user experience when they pop up but don&apos;t add useful information or even are interesting. To turn them off requires not having the title attribute but that denies text-to-speech support (in their absence, TTS generates default pronunciations, which may be wrong and even hard to comprehend).

E.g., the form &quot;&lt;abbr title=&quot;+15553676287&quot;&gt;+1-555-FORMATS&lt;/abbr&gt;&quot; is required in the hCard spec (http://microformats.org/wiki/hcard (as accessed 9-22-09)) but it leads to a TTS error if the page author wants TTS to say &quot;1 5 5 5 formats&quot;. The error is not W3C&apos;s but is due to a shortage of attributes to serve the range of needs in the wild.

A more semantic and dedicated attribute would clarify page authors&apos; intentions.

I propose a tooltip attribute for most or all elements that could appear in a body element.

The title attribute should be kept for other uses but its use for tooltips should be deprecated.

Thank you.

-- 
Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27784</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-09-29 07:39:25 +0000</bug_when>
    <thetext>Wouldn&apos;t it be more useful to have an attribute for descriptive information that doesn&apos;t display as a tooltip at all, either in future or existing browsers? Then title=&quot;&quot; can then be reserved for use cases that do want a tooltip. Adding a tooltip attribute would not solve the problem that the abbr markup you cited produces a tooltip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27842</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-29 11:00:18 +0000</bug_when>
    <thetext>The example you give is non-conforming HTML5; title=&quot;&quot; isn&apos;t allowed to be used like that per HTML5.

Microdata uses &lt;meta&gt; for including data like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28038</commentid>
    <comment_count>3</comment_count>
    <who name="Nick Levinson">Nick_Levinson</who>
    <bug_when>2009-10-04 23:02:55 +0000</bug_when>
    <thetext>&gt; Wouldn&apos;t it be more useful to have an attribute for descriptive information that doesn&apos;t display as a tooltip at all, either in future or existing browsers? . . . .
Either approach would fulfill demand and either approach would have the same problem of version compatibility. Since there&apos;s a general goal of keeping HTML and other languages semantic, I think an attribute meant for tooltips should be called tooltip, and something for multiple or residual uses should have a more general name, for which title, already established, will do.

&gt; title=&quot;&quot; isn&apos;t allowed to be used like that . . . .
Okay, thus the need for more methods to satisfy needs.

Use for TTS seemed to be widespread a while back, causing a usability conflict with tooltips use.

Both TTS and microformats have good use cases, and both are being shoehorned into the title attribute. We should hand out a more comfortable shoe, i.e., a more semantic attribute.

&gt; Microdata uses &lt;meta&gt; for including data like this.
No, as to microformats. And that&apos;s complicated.

They don&apos;t use meta now (&lt;http://microformats.org/wiki/hcard&gt;, Property Notes, n. 2, &amp; Human vs. Machine readable, as accessed 10-3-09). The latter says, &quot;If an &lt;abbr&gt; element is used for a property, then the &apos;title&apos; attribute (if present) of the &lt;abbr&gt; element is the value of the property, instead of the contents of the element, which instead provide a more human presentable version of the value.&quot;

If they should use meta, they&apos;ll have to amend, but using meta in a head makes parsing of an hCard microformat in a body much more complicated, because page authors will have to write much larger heads and engines will have to apply many more steps. Adding an attribute seems simpler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28444</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-18 10:21:54 +0000</bug_when>
    <thetext>I didn&apos;t say microformats, I said microdata.

As far as I can tell, &lt;meta&gt; is the solution to your request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28473</commentid>
    <comment_count>5</comment_count>
    <who name="Nick Levinson">Nick_Levinson</who>
    <bug_when>2009-10-18 21:12:39 +0000</bug_when>
    <thetext>My errors in conflating microdata and microformats, as acknowledged in &lt;http://www.w3.org/Bugs/Public/show_bug.cgi?id=7800#c2&gt;, when I saw the new provisions, and in not noticing till now that now meta is allowed in body for flow and phrasing if it has the itemprop attribute.

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33517</commentid>
    <comment_count>6</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:51:51 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>