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

[whatwg] Placeholder option for text input boxes

From: Kornel Lesinski <kornel@geekhood.net>
Date: Sun, 05 Oct 2008 19:11:32 +0100
Message-ID: <op.uikctiirptj49s@aimac.local>
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
Received on Sunday, 5 October 2008 11:11:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC