E-mail List Archives
Re: required field not being announced in Firefox/NVDA
From: Birkir R. Gunnarsson
Date: Oct 13, 2017 12:08PM
- Next message: Beranek, Nicholas: "Re: required field not being announced in Firefox/NVDA"
- Previous message: Greg Gamble: "Re: required field not being announced in Firefox/NVDA"
- Next message in Thread: Beranek, Nicholas: "Re: required field not being announced in Firefox/NVDA"
- Previous message in Thread: Greg Gamble: "Re: required field not being announced in Firefox/NVDA"
- View all messages in this Thread
Greg
Tis is cool, but it only seem to work in Firefox, at least my quick
test did not yield any results in either IE or Chrome.
On 10/13/17, Greg Gamble < <EMAIL REMOVED> > wrote:
> We found a way for FF to announce a custom error message. We added the
> following attributes to the text fields.
>
> HTML5
> oninvalid="setCustomValidity('Username required')"
> oninput="setCustomValidity('')"
>
> This will give an error message that says ''Username required'' when we have
> an input field with required, and no value entered.
>
> Greg Gamble
> p - 360-704-4376
>
>
>
- Next message: Beranek, Nicholas: "Re: required field not being announced in Firefox/NVDA"
- Previous message: Greg Gamble: "Re: required field not being announced in Firefox/NVDA"
- Next message in Thread: Beranek, Nicholas: "Re: required field not being announced in Firefox/NVDA"
- Previous message in Thread: Greg Gamble: "Re: required field not being announced in Firefox/NVDA"
- View all messages in this Thread