Re:Labels in input fields aren’t such a good idea
by randomdata on Monday February 04, 2013 @12:46PM
(#5165678)
Aside from the other problems, placeholder is a standard attribute. If it is problematic for a screen reader to read that attribute, wouldn't that be a problem with the screen reader, not the HTML page?
[ Parent
| on HN ]
Re:Labels in input fields aren’t such a good idea
by mjhoy on Monday February 04, 2013 @01:00PM
(#5165771)
Except that placeholder != label, semantically.
The spec says:
The placeholder attribute should not be used as an alternative to a label. For a longer hint or other advisory text, the title attribute is more appropriate.
http://www.whatwg.org/specs/web-apps/current-work/multipage/...