W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] Hide placeholder on input controls on focus

From: Tim Streater <tim@clothears.org.uk>
Date: 19 Mar 2013 14:42 +0000
To: Glenn Maynard <glenn@zewt.org>, Markus Ernst <derernst@gmx.ch>
Message-Id: <20130319144249.A1D659842F5@zapata.dreamhost.com>
Cc: whatwg@lists.whatwg.org, Boris Zbarsky <bzbarsky@mit.edu>
On 18 Mar 2013 at 23:44, Glenn Maynard <glenn@zewt.org> wrote: 

> On Mon, Mar 18, 2013 at 12:51 PM, Markus Ernst <derernst@gmx.ch> wrote:
>
>> A reason for the behaviour of Firefox and Chrome may be that some user may
>> not have read the placeholder text before focusing the control. Anyway, if
>> this behavior lets some users think they can't even fill in the form, there
>> must be something wrong about it.

> I've seen browsers (or maybe pages emulating placeholder in script) that
> hide the placeholder text while the input field is focused.  When the
> placeholders are labels for the inputs, it's incredibly annoying to have to
> focus something else in order to see the placeholder text.  If placeholders
> are meant to be useful and not just eyecandy, they need to remain visible
> until the user enters something.

But that's not what users do. You read the placeholder text, which may may hint at what is expected there, and the field should have a separate label. Then you focus there, and the placeholder text should vanish. Why? because I've lost count of the number of users I see trying to select the placeholder text so they can delete it, and then start typing.

--
Cheers  --  Tim
Received on Tuesday, 19 March 2013 14:43:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 19 March 2013 14:43:17 GMT