WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder

for

From: Patrick H. Lauke
Date: Mar 11, 2019 2:10PM


On 11/03/2019 20:01, Jim Homme wrote:
> Hi,
> My experience is that NVDA now speaks the placeholder, even if it disappears. I verified this with a sighted colleague. This makes it difficult to test properly for field labels.

For sighted users, the placeholder text (when visible) IS the label /
the thing that acts as a label. Also, how do you mean "properly"? If the
outcome / success criterion you're trying ascertain is 4.1.2, then the
fact that your AT is announcing a name should be taken as passing that
criterion, no? If you mean "it makes it difficult to check if they've
given the input a label using <label>, I'd say that's irrelevant (they
may have used aria-label, or aria-labelledby, just as well, and your AT
announcing those would also make you none the wiser). Unless I'm missing
something?

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke