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: Sailesh Panchang <sailesh.panchang@deque.com>
Date: Tue, 30 Apr 2013 11:14:56 -0400
Message-ID: <CAJi9Cqr+u9koUfxrPFSFp_6gU4Ak8BUq9aA7pdsKzuhSRgxvLw@mail.gmail.com>
To: w3c-wai-ig@w3.org
The HTML5 specs for placeholder clearly say that placeholder text is
not a replacement for the control's accessible label.
It can be used for advisory text like input formats as Jonathan illustrated.
And it is a great help as it no longer requires developers to write JS
code or such to  control the display / removal of the placeholder
text. Sometimes due to a bug in the code, the text does not disappear
as the user types in and incorrect data gets submitted.
So with this attribute, the user agent will do the  work instead.
Browser and AT combinations need to support the  attribute uniformly.
Sailesh Panchang
Received on Tuesday, 30 April 2013 15:15:27 UTC

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