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

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