W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2005

[whatwg] Pattern Hint

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Fri, 07 Oct 2005 17:50:30 -0400
Message-ID: <4346EDA6.5060600@earthlink.net>
Ian Hickson wrote:
> Actually, the way the spec is written now, the UA _can_ assume that the 
> "title" attribute is going to help. In fact it is encouraged.
> 
> Assume that your proposal ("hint") is spelt "title" and implement it like 
> that. (Including the little button you wanted for "hint"). That is the 
> intent of the spec at the moment.

   There is a certain presumption that the author doesn't want to use
|title| for any other purpose than providing input hints. This is
potentially erroneous. For instance, the |title| may describe the
purpose of the input rather than the input pattern. If someone is
inputting a credit card number, it may be to hold a reservation rather
than make payment, and the author may wish to communicate that via a
tooltip. By making the |title| the semantic method of providing pattern
hints, you block the web author from using tooltips for any other
purpose, and that's even assuming the user agent won't treat |title| as
a special case when applied to form controls.
Received on Friday, 7 October 2005 14:50:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:24 UTC