WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: required field not being announced in Firefox/NVDA

for

From: Birkir R. Gunnarsson
Date: Oct 12, 2017 1:11PM


Technically it should be required="required"
And, yeah, it's pretty weird.
Again, is NVDA not reading the label in the initial state, when user
focuses the field, or is NVDA not reading the label when user tries to
submit the form with a blank required field and focus is moved back to
that field?



On 10/12/17, JP Jamous < <EMAIL REMOVED> > wrote:
> Semantically, it should be required="true". Required is the short-hand
> writing for it and browsers are forgiving as we know them.
>
> Personally, I prefer required="true". Each HTML attribute has a value. Why
> do this one differently.
>
> Did you try to use aria-required="true" to see if NVDA would respond
> differently?
>
> Just keep in mind that NVDA was not created to function with either IE or
> edge. So having it fail with those 2 does not come as a surprise to me. In
> fact, I would consider it normal behavior.
>
>