<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The poorly supported title attribute</title>
	<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/</link>
	<description>Updates on the march of progress. A weblog about web design, standards, web browsers, and the overall health of the Web.</description>
	<pubDate>Fri, 21 Nov 2008 20:19:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: çeviri</title>
		<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-4048</link>
		<pubDate>Wed, 16 Jan 2008 20:52:58 +0000</pubDate>
		<guid>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-4048</guid>
					<description>It is very frustrating that web browsers, particularly Firefox, do not properly support the TITLE attribute as it is laid out in W3C HTML specifications. This isn’t a trivial matter; it is a major usability/accessibility issue..</description>
		<content:encoded><![CDATA[<p>It is very frustrating that web browsers, particularly Firefox, do not properly support the TITLE attribute as it is laid out in <abbr title="World Wide Web Consortium">W3C</abbr> <abbr title="HyperText Markup Language">HTML</abbr> specifications. This isn’t a trivial matter; it is a major usability/accessibility issue..</p>
<p class="postdetails"><em>Posted using (Not Specified) .</em></p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Hammond</title>
		<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1343</link>
		<pubDate>Thu, 21 Sep 2006 20:04:35 +0000</pubDate>
		<guid>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1343</guid>
					<description>I'm not sure why you're focusing on the (again arbitrary) 6-second limit. I and others believe that the tooltip should remain visible as long as the user needs it, so there should be no 6-second limit.

The title attribute can contain useful information and there is an obvious and common user interface feature (tooltips) to provide access to the value. I see no reason that the user interface feature should limit the amount of information that the user can access when providing more would not cause any significant loss of usability (in fact, I don't think it would cause any loss of usability). Firefox doesn't cut off the title at 25 characters if there is more room available, and I see no reason it should limit tooltips. In fact, the reasons so far presented have been technical issues relating to the vertical sizing of the tooltip box, not because it was a design choice to maximize usability. Limiting the displayed value and display time does not improve usability and it does hurt it in many cases.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure why you&#8217;re focusing on the (again arbitrary) 6-second limit. I and others believe that the tooltip should remain visible as long as the user needs it, so there should be no 6-second limit.</p>
<p>The title attribute can contain useful information and there is an obvious and common user interface feature (tooltips) to provide access to the value. I see no reason that the user interface feature should limit the amount of information that the user can access when providing more would not cause any significant loss of usability (in fact, I don&#8217;t think it would cause any loss of usability). Firefox doesn&#8217;t cut off the title at 25 characters if there is more room available, and I see no reason it should limit tooltips. In fact, the reasons so far presented have been technical issues relating to the vertical sizing of the tooltip box, not because it was a design choice to maximize usability. Limiting the displayed value and display time does not improve usability and it does hurt it in many cases.</p>
<p class="postdetails"><em>Posted using (Not Specified) .</em></p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gérard Talbot</title>
		<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1342</link>
		<pubDate>Thu, 21 Sep 2006 18:30:52 +0000</pubDate>
		<guid>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1342</guid>
					<description>&amp;#62; If the browsing window is large enough, the full title will display.

Someone in bug 45375 has said that the limit of the title attribute should exceed the browser window itself!
Browsing window as the inherit limit is promoting and supporting bad webpage design and bad usability principles to begin with.

&amp;#62; Firefox unnecessarily limits the tooltip content length
It has an arbitrary limit but then what should be the limit for a tooltip? I've asked at least 3 times people in bug 45375 how many characters they can read in 6 sec. in a box of Tahoma 8px text? No one answered.
And tooltips can affect almost any types of elements, even a &amp;#60;p&amp;#62;!

&amp;#62; that’s no excuse for the web browser deliberately hiding the &amp;#62; rest of the value from the user
UAAG 1.0 has provided several answers on conditional content. I can read the title attribute thanks to the properties menu item from the context menu: it's not perfect but the &quot;full&quot; content of the title attribute is accessible.

&amp;#62; If a title attribute is provided, no matter how long it is, 
&amp;#62; the web browser should do its best to provide the full value &amp;#62; to the user within reason
Sorry, but I disagree. It does not work like that and it shouldn't work like that. There is a limit to how much C++ code should go into a default browser behavior (some have again explained that the browser should calculate at run-time duration of tooltip, box dimensions, line-wrapping, etc. for tooltip). There is a limit to how much an user can read in 6sec. inside a box of Tahoma 8px font. There should be a limit to how many characters should be displayed in a tooltip before cropping the rest/excedent, just like &amp;#60;title&amp;#62; vs titlebar and window.status and the statusbar message work.

If the HTML 4.01/WAI/WCAG/UAAG specs did not explicitly defined how many characters are supposed to mean 
&quot;short message&quot;, &quot;short description&quot;, &quot;advisory title&quot;,
&quot;informative link title&quot;
and the opposite side certainly avoided to define what was long enough, sufficient text length and any kind of quantitative value for text length. How many characters mean &quot;long&quot;, &quot;normal&quot;, &quot;long enough&quot; is nowhere defined. And one has to define this before defining when and where to line-wrap if line-wrap becomes necessary.
So far, all I got from a coding perspective is calculations for timers to be started at run-time for duration of tooltips! Just imagine the performance issues (pointers in memory, timers' dependencies, storing values, etc) as one just moves the mouse over tooltip-able elements

Gérard</description>
		<content:encoded><![CDATA[<p>&gt; If the browsing window is large enough, the full title will display.</p>
<p>Someone in bug 45375 has said that the limit of the title attribute should exceed the browser window itself!<br>
Browsing window as the inherit limit is promoting and supporting bad webpage design and bad usability principles to begin with.</p>
<p>&gt; Firefox unnecessarily limits the tooltip content length<br>
It has an arbitrary limit but then what should be the limit for a tooltip? I&#8217;ve asked at least 3 times people in bug 45375 how many characters they can read in 6 sec. in a box of Tahoma 8px text? No one answered.<br>
And tooltips can affect almost any types of elements, even a &lt;p&gt;!</p>
<p>&gt; that’s no excuse for the web browser deliberately hiding the &gt; rest of the value from the user<br>
UAAG 1.0 has provided several answers on conditional content. I can read the title attribute thanks to the properties menu item from the context menu: it&#8217;s not perfect but the &#8220;full&#8221; content of the title attribute is accessible.</p>
<p>&gt; If a title attribute is provided, no matter how long it is,<br>
&gt; the web browser should do its best to provide the full value &gt; to the user within reason<br>
Sorry, but I disagree. It does not work like that and it shouldn&#8217;t work like that. There is a limit to how much C++ code should go into a default browser behavior (some have again explained that the browser should calculate at run-time duration of tooltip, box dimensions, line-wrapping, etc. for tooltip). There is a limit to how much an user can read in 6sec. inside a box of Tahoma 8px font. There should be a limit to how many characters should be displayed in a tooltip before cropping the rest/excedent, just like &lt;title&gt; vs titlebar and window.status and the statusbar message work.</p>
<p>If the <abbr title="HyperText Markup Language">HTML</abbr> 4.01/WAI/<abbr title="Web Content Accessibility Guidelines">WCAG</abbr>/UAAG specs did not explicitly defined how many characters are supposed to mean<br>
&#8220;short message&#8221;, &#8220;short description&#8221;, &#8220;advisory title&#8221;,<br>
&#8220;informative link title&#8221;<br>
and the opposite side certainly avoided to define what was long enough, sufficient text length and any kind of quantitative value for text length. How many characters mean &#8220;long&#8221;, &#8220;normal&#8221;, &#8220;long enough&#8221; is nowhere defined. And one has to define this before defining when and where to line-wrap if line-wrap becomes necessary.<br>
So far, all I got from a coding perspective is calculations for timers to be started at run-time for duration of tooltips! Just imagine the performance issues (pointers in memory, timers&#8217; dependencies, storing values, etc) as one just moves the mouse over tooltip-able elements</p>
<p>Gérard</p>
<p class="postdetails"><em>Posted using (Not Specified) .</em></p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Hammond</title>
		<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1338</link>
		<pubDate>Thu, 21 Sep 2006 09:11:54 +0000</pubDate>
		<guid>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1338</guid>
					<description>Gérard: The titlebar issue is not the same thing. Firefox doesn't arbitrarily cut off the titlebar text are a small number of characters. If the browsing window is large enough, the full title will display. But regardless of the window size, screen resolution, or anything else, Firefox unnecessarily limits the tooltip content length. You're right that web developers should limit the amount of title attribute text for usability reasons, but that's no excuse for the web browser deliberately hiding the rest of the value from the user. If a title attribute is provided, no matter how long it is, the web browser should do its best to provide the full value to the user within reason, and there is no reason not to use a lot more screen space than Firefox uses for tooltips if the value demands it.</description>
		<content:encoded><![CDATA[<p>Gérard: The titlebar issue is not the same thing. Firefox doesn&#8217;t arbitrarily cut off the titlebar text are a small number of characters. If the browsing window is large enough, the full title will display. But regardless of the window size, screen resolution, or anything else, Firefox unnecessarily limits the tooltip content length. You&#8217;re right that web developers should limit the amount of title attribute text for usability reasons, but that&#8217;s no excuse for the web browser deliberately hiding the rest of the value from the user. If a title attribute is provided, no matter how long it is, the web browser should do its best to provide the full value to the user within reason, and there is no reason not to use a lot more screen space than Firefox uses for tooltips if the value demands it.</p>
<p class="postdetails"><em>Posted using (Not Specified) .</em></p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gérard Talbot</title>
		<link>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1337</link>
		<pubDate>Thu, 21 Sep 2006 07:00:24 +0000</pubDate>
		<guid>http://www.webdevout.net/tidings/2006/09/02/the-poorly-supported-title-attribute/#comment-1337</guid>
					<description>The spec says that the title attribute should be a &lt;strong&gt;short message&lt;/strong&gt;. Every single example provided in the HTML 4.01 spec and in the WCAG or WAI documents used examples where the title attribute has 60 characters or less.

Title in a tooltip is exactly that kind of feature which can be easily, &lt;strong&gt;very easily abused on the web&lt;/strong&gt;. First, the default font-size value for the default window os theme and with the default-normal font-size is 8px Tahoma in tooltips and it will stay visible for 6sec. And people in bug 45375 demanded that the title attribute may be able to render dozens of words during a fugitive 6sec. in a box of Tahoma 8px text.

&quot;Link titles should be less than 80 characters, and should only rarely go above 60 characters. Shorter link titles are better.&quot;
J. Nielsen, http://www.useit.com/alertbox/980111.html

Compared to the initial testcase in bug 45375:  attachment 90744 had 138 words, 542 non-space characters and 688 characters (all in the title attribute)! Testcase in attachment 125683 mentioned in comment 84 had 175 non-space characters in the title attribute!

Tooltip text is much more constraining for the user, limitative than one could think: 
- the user can not copy and paste the text appearing in a tooltip, 
- the user can not resize the text-size on the fly, 
- the user can not see the title attribute value if he's using keyboard navigation in any/all browsers I tested this: no tooltip, nothing, 
- the user can not resize tooltip box, 
- the user can not resize the text-size unless he knows where in the os, 
- the user can not modify the time/duration of appearance of the tooltip
etc..
and for all these reasons, web developers should not put anything primordial in it, web developers should not put long (over 128 characters IMO) content in it, web developers should not put anything besides complementary info, advisory info
in it, &lt;strong&gt;just like HTML 4 and WAI are explicitly saying&lt;/strong&gt;. 

Re-hovering a link (over and out) or any tooltip-able element is not more user-friendly.

If tooltip text should wrap to show large amount of text, then so should the statusbar: it should expand, should stretch and wrap when the window.status message exceed the available number of characters for the message area, so that it would be
displayed entirely and not be cropped like it is now in IE, Mozilla, Opera. Same logic. 

And why stay there. The title bar should expand, stretch and even wrap if the web author put in &amp;#60;title&amp;#62; 150 words. Same logic.

Gérard</description>
		<content:encoded><![CDATA[<p>The spec says that the title attribute should be a <strong>short message</strong>. Every single example provided in the <abbr title="HyperText Markup Language">HTML</abbr> 4.01 spec and in the <abbr title="Web Content Accessibility Guidelines">WCAG</abbr> or WAI documents used examples where the title attribute has 60 characters or less.</p>
<p>Title in a tooltip is exactly that kind of feature which can be easily, <strong>very easily abused on the web</strong>. First, the default font-size value for the default window os theme and with the default-normal font-size is 8px Tahoma in tooltips and it will stay visible for 6sec. And people in bug 45375 demanded that the title attribute may be able to render dozens of words during a fugitive 6sec. in a box of Tahoma 8px text.</p>
<p>&#8220;Link titles should be less than 80 characters, and should only rarely go above 60 characters. Shorter link titles are better.&#8221;<br>
J. Nielsen, <a href='http://www.useit.com/alertbox/980111.html'><abbr title="HyperText Transfer Protocol">http</abbr>://www.useit.com/alertbox/980111.html</a></p>
<p>Compared to the initial testcase in bug 45375:  attachment 90744 had 138 words, 542 non-space characters and 688 characters (all in the title attribute)! Testcase in attachment 125683 mentioned in comment 84 had 175 non-space characters in the title attribute!</p>
<p>Tooltip text is much more constraining for the user, limitative than one could think:<br>
- the user can not copy and paste the text appearing in a tooltip,<br>
- the user can not resize the text-size on the fly,<br>
- the user can not see the title attribute value if he&#8217;s using keyboard navigation in any/all browsers I tested this: no tooltip, nothing,<br>
- the user can not resize tooltip box,<br>
- the user can not resize the text-size unless he knows where in the os,<br>
- the user can not modify the time/duration of appearance of the tooltip<br>
etc..<br>
and for all these reasons, web developers should not put anything primordial in it, web developers should not put long (over 128 characters IMO) content in it, web developers should not put anything besides complementary info, advisory info<br>
in it, <strong>just like HTML 4 and WAI are explicitly saying</strong>. </p>
<p>Re-hovering a link (over and out) or any tooltip-able element is not more user-friendly.</p>
<p>If tooltip text should wrap to show large amount of text, then so should the statusbar: it should expand, should stretch and wrap when the window.status message exceed the available number of characters for the message area, so that it would be<br>
displayed entirely and not be cropped like it is now in <abbr title="Internet Explorer">IE</abbr>, Mozilla, Opera. Same logic. </p>
<p>And why stay there. The title bar should expand, stretch and even wrap if the web author put in &lt;title&gt; 150 words. Same logic.</p>
<p>Gérard</p>
<p class="postdetails"><em>Posted using (Not Specified) .</em></p>
]]></content:encoded>
				</item>
</channel>
</rss>
