<?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>23641</bug_id>
          
          <creation_ts>2013-10-26 11:57:03 +0000</creation_ts>
          <short_desc>The spec doesn&apos;t define additional semantics for &lt;input@title&gt;, maybe the line &quot;Some elements, such as link, abbr, and input, define ...&quot; shall be corrected.</short_desc>
          <delta_ts>2014-01-02 21:03:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-title-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>master.skywalker.88</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95389</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-10-26 11:57:03 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#the-title-attribute
Complete: http://www.whatwg.org/c#the-title-attribute
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html

Comment:
The spec doesn&apos;t define additional semantics for &lt;input@title&gt;, maybe the line
&quot;Some elements, such as link, abbr, and input, define ...&quot; shall be corrected.

Posted from: 94.39.32.174 by master.skywalker.88@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95390</commentid>
    <comment_count>1</comment_count>
    <who name="Andrea Rendine">master.skywalker.88</who>
    <bug_when>2013-10-26 13:15:17 +0000</bug_when>
    <thetext>An add-on: is that correct to suggest authors to rely on @title in special cases? The spec states that its use is &quot;discouraged&quot; because of its unreliability whenever the document is accessed without the use of a pointing device (so I think it refers to touchscreen devices, desktop browsers during keyboard navigation and TV with web navigation. For &lt;abbr&gt; and &lt;dfn&gt; it could be useful with printers. I don&apos;t know what happens with a screen reader, I suppose there are ways to voice its value but I&apos;m not sure). Therefore the possible solutions are: 
- special rules for &lt;abbr@title&gt;, &lt;dfn@title&gt; and &lt;menuitem@title&gt; to show the attribute in other ways, e.g. as text after the proper content (printers) or tooltip on focus(TV)/prolonged &quot;selection&quot; action (touchscreen);
- the addition of another attribute with the behavior described before. Lately the extension of @value makes me think about it. @value is often an attribute whose value takes part in the rendering of the element (&lt;meter&gt;,&lt;progress&gt;: the value of the gauge/progress bar; &lt;li&gt;: the ordinal value in the specified list style).

It should be noted, however, that providing a way to make @title accessible with such UAs/devices/navigation modes, however, could be a problem because really many elements could have a @title in a document.

Finally, also in common desktop UAs, being forced to use a @title in order to convey specific explanations can be a problem because it interferes with parent element&apos;s @title (an example: &lt;a href=&quot;http://www.w3.org/TR/CSS2/&quot; title=&quot;W3 CSS2 Specification document&quot;&gt;&lt;abbr title=&quot;Cascading Style Sheet 2nd edition&quot;&gt;CSS2&lt;/abbr&gt;&lt;/a&gt;; the &lt;a@title&gt; could be useful but it is difficult to access).

For these 2 reasons I suggest allowing a @value in elements where an explanation is more relevant, and then giving authors the choice whether to rely on native @title tooltip or to work with a different item. In the long run, user agents could also define new ways to convey this information, e.g. to implement a focus-tooltip mechanism. If the cases are separate, then new mechanics can focus on the &quot;special&quot; case (a @value used only on elements which are more likely to be explained, a specialised version of RDFa ubiquitous and therefore useless @content) [or maybe enabled separately via a &quot;settings&quot; panel].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95391</commentid>
    <comment_count>2</comment_count>
    <who name="Andrea Rendine">master.skywalker.88</who>
    <bug_when>2013-10-26 13:26:56 +0000</bug_when>
    <thetext>Last thing then I shut up. @value could be also passed to Microdata in the way I said before, as RDFa does with @content but in my opinion it is pointless, because it is ubiquitous and can be used when the element content IS sufficient. Sometimes, however, &lt;dfn&gt; and &lt;abbr&gt;&apos;s extension/specification is worth passing to structured data, more than the content:
&lt;article itemscope itemtype=&quot;http://schema.org/Article&quot;&gt;&lt;abbr value=&quot;Web Hypertext Application Technology Working Group&quot; itemprop=&quot;about&quot;&gt;WHATWG&lt;/abbr&gt; is an unofficial collaboration of Web browser manufacturers and interested parties who wish to develop new technologies designed to allow authors to write and ...&lt;/article&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95481</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-28 22:10:06 +0000</bug_when>
    <thetext>&lt;input&gt;&apos;s use of title=&quot;&quot; is with the pattern=&quot;&quot; attribute.
See the bottom of:
   http://www.whatwg.org/specs/web-apps/current-work/#the-pattern-attribute

Use of title=&quot;&quot; is discouraged today, but only because implementations have failed to do the right thing and implement it. The real solution is for ATs and so forth to do a better job exposing the title attribute. It&apos;d be silly if we had to drop this annotation mechanism in favour of another one just because they haven&apos;t implemented it — after all, why would they implement the other.

I didn&apos;t follow the bit about microdata. Can you elaborate?

As a general rule, please file one bug per issue. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95494</commentid>
    <comment_count>4</comment_count>
    <who name="Andrea Rendine">master.skywalker.88</who>
    <bug_when>2013-10-28 23:32:20 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #3)
&gt; &lt;input&gt;&apos;s use of title=&quot;&quot; is with the pattern=&quot;&quot; attribute.
I hadn&apos;t seen the final reference. Perhaps it would be good to insert this in the introductory box as in other elements.

I will reply here once more about @title-specific semantics. Please move the relevant messages if for some reason you can find it useful.
The first time I thought about this, it wasn&apos;t really for a matter of implementation or visual annotation. It was about microdata.
I think there could be cases when the extended/explained content of an abbr or a dfn element could be passed as a Microdata property (need thinking more for menuitem for obvious reasons). For what I know, Microdata never use @title while it could be useful, for example, as an article topic when specified on a &lt;dfn&gt; element. 
&lt;dfn itemprop=&quot;about&quot; title=&quot;HTML paragraph element&quot;&gt;&amp;lt;p&amp;gt;&lt;/dfn&gt; represent an autonomous span of text.
Sort of. In scientific essays this happens even more often. So I thought Microdata could consider the @title of elements where this has a strong semantical value (even more in &lt;abbr&gt;). But it would configure a new special case.
Then I thought about the limits of @title, as said before. Mainly limits of interaction/conflict with parents&apos; or children&apos;s @title. If this semantic were conveyed by a new attribute, all the conflicts would be avoided. Now I can&apos;t use @title on an abbr/dfn and on the parent/children element if they overlap too much. 
Last thing, the explicitation mechanism. Indeed it hasn&apos;t been done in limited user agents or devices because it would make the navigation slower if such UA had to show all the titles in a document. Then they should use special rules if they wanted to show extended forms of acronyms or terms. If we had a new attribute, UAs could explicitate this last one, only where needed.
Text-level elements can seem trivial but for a lot of documents they are still important.
Sorry again and thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96601</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-20 22:01:56 +0000</bug_when>
    <thetext>(In reply to Andrea Rendine from comment #4)
&gt; I hadn&apos;t seen the final reference. Perhaps it would be good to insert this
&gt; in the introductory box as in other elements.

Done. (I hadn&apos;t realised this was missing.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96602</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-11-20 22:02:05 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8304.
Check-in comment: Fix up the attribute annotations a bit
http://html5.org/tools/web-apps-tracker?from=8303&amp;to=8304</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96607</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-20 22:24:48 +0000</bug_when>
    <thetext>&gt; The first time I thought about this, it wasn&apos;t really for a matter of
&gt; implementation or visual annotation. It was about microdata.
&gt; I think there could be cases when the extended/explained content of an abbr
&gt; or a dfn element could be passed as a Microdata property (need thinking more
&gt; for menuitem for obvious reasons). For what I know, Microdata never use
&gt; @title while it could be useful, for example, as an article topic when
&gt; specified on a &lt;dfn&gt; element. 
&gt; &lt;dfn itemprop=&quot;about&quot; title=&quot;HTML paragraph element&quot;&gt;&amp;lt;p&amp;gt;&lt;/dfn&gt;
&gt; represent an autonomous span of text.

It&apos;s not clear to me when you would do something like this. do you have a real-world example of something like this?


&gt; Sort of. In scientific essays this happens even more often. So I thought
&gt; Microdata could consider the @title of elements where this has a strong
&gt; semantical value (even more in &lt;abbr&gt;). But it would configure a new special
&gt; case.

Again, if there&apos;s a concrete example of this, that would help. In examples I can think of, you&apos;d want the microdata to express what the user can read on the page... that&apos;s kind of the point.


&gt; Then I thought about the limits of @title, as said before. Mainly limits of
&gt; interaction/conflict with parents&apos; or children&apos;s @title. If this semantic
&gt; were conveyed by a new attribute, all the conflicts would be avoided. Now I
&gt; can&apos;t use @title on an abbr/dfn and on the parent/children element if they
&gt; overlap too much. 

Not sure what you mean here.


&gt; Last thing, the explicitation mechanism. Indeed it hasn&apos;t been done in
&gt; limited user agents or devices because it would make the navigation slower
&gt; if such UA had to show all the titles in a document. Then they should use
&gt; special rules if they wanted to show extended forms of acronyms or terms. If
&gt; we had a new attribute, UAs could explicitate this last one, only where
&gt; needed.

Not sure what you mean here either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97943</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-02 21:03:49 +0000</bug_when>
    <thetext>Please re-open if you respond to comment 7. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>