WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: html 5 required

for

From: Lucy Greco
Date: Nov 6, 2017 3:23PM


hi the required should not be adding that are they indacating the type of
data that should be entered i.e. email or phone number that should be the
only way it is saying that. some thing else is giving you that feed back

Lucia Greco
Web Accessibility Evangelist
IST - Architecture, Platforms, and Integration
University of California, Berkeley
(510) 289-6008 skype: lucia1-greco
http://webaccess.berkeley.edu
Follow me on twitter @accessaces


On Mon, Nov 6, 2017 at 2:16 PM, Tomlins Diane <
<EMAIL REMOVED> > wrote:

>
> This just came up for us, and we just switched 70+ code files to use the
> html 5 "required' attribute. Now we find in testing, using NVDA 2017.3 with
> Firefox, NVDA announces empty fields as "invalid entry" the first time the
> user focuses on them, even before the error checking that takes place when
> a user hits the Submit button. So I would think this would make things
> confusing for AT users.
>
> We tried adding aria-required="true" but that didn't help since we still
> have the "required" attribute in there too.
>
> If I understand the replies to this thread, the "required' attribute is
> still a patchwork of support between browsers and AT??
>
> Our developers won't be thrilled to back-pedal to take out the attribute
> they just put in :-/
>
> Any possible workaround besides going back?
>
> Thanks!
>
> Diane R Tomlins
> HCA IT&S | Digital Media
> Accessibility SME
>
>
>