News for hackers. Stuff that matters.
Re:Labels in input fields aren’t such a good idea by steveax on Monday February 04, 2013 @11:30AM (#5164972)
Yes, really bad trend. In addition to the usability issues the article mentions for sighted users, using placeholder without labels leaves screen reader users without any clue what the input is for.
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?
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/...
Re:Labels in input fields aren’t such a good idea by saravk on Monday February 04, 2013 @11:56AM (#5165205)
Good point about the screen reader. I've never considered it before. Thanks.

Personally i dont like using labels and instead use placeholders with tooltips in my forms. But now i might have to reconsider that approach.

Re:Labels in input fields aren’t such a good idea by jrabone on Monday February 04, 2013 @12:05PM (#5165292)
It's all fun and games until the National Federation of the Blind sues you...
Re:Labels in input fields aren’t such a good idea by pc86 on Monday February 04, 2013 @12:54PM (#5165734)
Does the ADA apply to websites hosted within the US?
Re:Labels in input fields aren’t such a good idea by oftenwrong on Monday February 04, 2013 @01:49PM (#5166124)
Some quick Wikipedia research suggests to me that it depends on the exact circumstances, but in general it seems that any prominent company is vulnerable to lawsuits over website accessibility.

http://en.wikipedia.org/wiki/National_Federation_of_the_Blin... http://en.wikipedia.org/wiki/Access_Now_v._Southwest_Airline... http://en.wikipedia.org/wiki/Ouellette_v._Viacom_Internation... http://www.dralegal.org/impact/cases/smith-et-al-v-hotelscom http://www.w3.org/WAI/EO/EO-Policy-USDOJ

Re:Labels in input fields aren’t such a good idea by im3w1l on Monday February 04, 2013 @03:05PM (#5166722)
What about this solution: http://stackoverflow.com/a/1755802

Have labels, but hide them with css.