W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2013

Re: Remove "placeholder" attribute from HTML and turn it into a CSS feature

From: Ian Yang <ian@invigoreight.com>
Date: Wed, 1 May 2013 10:40:00 +0800
Message-ID: <CABr1FsdD499b22yDB8qE9+Vx3NEfOdGXVhfx6v1dx1JeUSZ0xw@mail.gmail.com>
To: tink@tink.co.uk
Cc: w3c-wai-ig@w3.org
On Wed, May 1, 2013 at 4:05 AM, Léonie Watson <tink@tink.co.uk> wrote:
> Unimportant to whom? The label and placeholder do not have the same purpose.
> The label identifies the field, the placeholder provides a hint about the
> sort of data that should be entered. Neither thing is presentational, and
> both will be helpful to lots of people including AT users.


The attribute could be renamed properly so people will start to use it
correctly. The name "placeholder" is kinda confusing and misleading.
Most of the time people misuse it as the replacement of <label>
element. A search on the google found that tons of tutorial websites
illustrate the attribute by simply filling its value: "Your name",
"Email address", "Your message", "Type here...", "Search the site",
etc. Obviously people don't really know what the attribute means. They
look like they think: "Woohoo! A time-saver whose value disappears
automatically! Finally no more label elements."

Kind Regards,
Ian Yang
Received on Wednesday, 1 May 2013 02:40:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:44 UTC