WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder

for

From: Isabel Holdsworth
Date: Mar 12, 2019 3:01AM


From a blind tester's perspective (hope I've got this right Jim):

Say a form element has a label and a placeholder, and the placeholder
is used to describe the expected data format. If the screenreader
speaks the placeholder even after it's been superseded by entered
data, then it's more challenging for a blind tester to know that the
screenreader is speaking invisible text and that there's a 3.3.2 fail.

Cheers, Isabel

On 11/03/2019, Patrick H. Lauke < <EMAIL REMOVED> > wrote:
> 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
> > > > >