DU wrote:
I am looking for opinions on the issue of length of title attribute.
First of all, the current HTML 4.01 spec is rather vague on this
issue... at least, it isn't explicit nor normative.
The HTML 4.01 spec and WAI mention "short message", "short description",
"advisory title", "informative link title" for the title attribute.
Personally, I think that having a more than 128 characters tooltip does
not meet the original goals of the HTML 4.01 spec. and is not a good
webpage design decision.
While the tooltip from a TITLE attribute that is the width of a
maximized window might be considered too long, there is no specific
limit in the HTML specification
There is a Mozilla bug (likely in Firefox, too) that tooltips in
general do not wrap. This affects the TITLE attribute. In
Mozilla, the tooltip for a TITLE attribute on an IMG element will
appear at the right of the window if the image itself is at the
right. The same is true for a TITLE attribute on a link (<A> </A>)
that appears near the right margin of the text. Although a tooltip
might be less than half the width of the window, Mozilla truncates
it at about the 90th character.
See the bug report at
<URL:https://bugzilla.mozilla.org/show_bug.cgi?id=45375>.
--
David E. Ross
<URL:http://www.rossde.com/>
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.