[whatwg] Hide placeholder on input controls on focus

Glenn Maynard glenn at zewt.org
Mon Mar 18 16:44:35 PDT 2013


On Mon, Mar 18, 2013 at 12:51 PM, Markus Ernst <derernst at 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.

-- 
Glenn Maynard



More information about the whatwg mailing list