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

[whatwg] Placeholder option for text input boxes

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Sun, 5 Oct 2008 20:16:14 +0200
Message-ID: <5911CB99335741B18FC2380038782357@POCZTOWIEC>
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@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
Received on Sunday, 5 October 2008 11:16:14 UTC

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