[whatwg] Placeholder option for text input boxes

Kristof Zelechovski giecrilj at stegny.2a.pl
Sun Oct 5 11:16:14 PDT 2008

I think it is rather uncommon that the value entered into a search field
needs a hint about what format it should be in.  The search engine should be
smart enough to figure out what the user was looking for.

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Kornel Lesinski
Sent: Sunday, October 05, 2008 8:12 PM
To: Keryx Web
Cc: whatwg
Subject: Re: [whatwg] Placeholder option for text input boxes

On Sun, 05 Oct 2008 17:08:29 +0100, Keryx Web <webmaster at keryx.se> wrote:

> E.g. <input placeholder="name"> is present on the page, but no other  
> explanatory text. The user accidentally types in "qqqq". How will the  
> user get the hint back? Deleting what has been typed and blurring the  
> field. Good usability? I think not!

Therefore I suggest limiting placeholder to type=search.

I rarely see placeholders used in other context than search. Distinctive  
look of search input should prevent abuse of it for other kinds of inputs.

regards, Kornel Lesinski

More information about the whatwg mailing list