W3C home > Mailing lists > Public > public-html@w3.org > February 2013

Re: added note warning about use of placeholder as a label

From: Mallory van Achterberg <stommepoes@stommepoes.nl>
Date: Tue, 26 Feb 2013 08:37:08 +0100
To: Jay Munro <jaymunro@microsoft.com>
Cc: Steve Faulkner <faulkner.steve@gmail.com>, HTMLWG WG <public-html@w3.org>, HTML Accessibility Task Force <public-html-a11y@w3.org>
Message-ID: <20130226073708.GA14080@mail.jobva.nl>
On Tue, Feb 26, 2013 at 12:06:33AM +0000, Jay Munro wrote:
> --- suggestion
> Note: The placeholder<http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-placeholder> attribute should not be used as a replacement for a label<http://www.w3.org/html/wg/drafts/html/master/forms.html#the-label-element> because the placeholder text disappears when the field gets focus. This can reduce accessibility and usability of the input control for users who view documents using screen readers or other assistive technology, or need a little more time to see a prompt.

Not only because the placeholder text disappears. Some users may never see the light-grey-on-white placeholder, some users of AT may never hear it, we lose the larger clickable area labels offer, and users may see placeholders as default values and consider them pre-filled and skip them without closer look.

Examples of more reasons.

Received on Tuesday, 26 February 2013 07:37:37 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:31 UTC