WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder and Accessible Name Computation

for

From: Detlev Fischer
Date: May 8, 2019 2:26PM


@Jon Avila - I fully agree - my point was just to get clarity on the normative situation (would using placeholder PASS 3.3.2 while not being recommendable)

Sent from phone

> Am 08.05.2019 um 21:50 schrieb Patrick H. Lauke < <EMAIL REMOVED> >:
>
>> On 08/05/2019 20:34, Jonathan Avila wrote:
>> I am generally opposed to the placeholder being used as the accessible name because I believe it will lead to the sole use of it as an accepted way of providing a name rather than a fallback. The placeholder should not act as a label and should act as a hint. By including it in the name it encourages it's acceptance as a label rather than a placeholder. It's called placeholder for a reason and not a label.
>
> For what it's worth, an input relying purely on placeholder will still fail "Labels and Instructions" (because once filled in there's no more "label or instruction" there at all) and arguably "Label in Name" (again, once filled in, it has no apparent label but just its entered value, and that's not part of the accessible name).
>
> 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
> > > >