E-mail List Archives
Re: required field not being announced in Firefox/NVDA
From: Greg Gamble
Date: Oct 13, 2017 10:14AM
- Next message: Birkir R. Gunnarsson: "Re: required field not being announced in Firefox/NVDA"
- Previous message: Angela French: "Re: styling phone links"
- Next message in Thread: Birkir R. Gunnarsson: "Re: required field not being announced in Firefox/NVDA"
- Previous message in Thread: Angela French: "Re: required field not being announced in Firefox/NVDA"
- View all messages in this Thread
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: Birkir R. Gunnarsson: "Re: required field not being announced in Firefox/NVDA"
- Previous message: Angela French: "Re: styling phone links"
- Next message in Thread: Birkir R. Gunnarsson: "Re: required field not being announced in Firefox/NVDA"
- Previous message in Thread: Angela French: "Re: required field not being announced in Firefox/NVDA"
- View all messages in this Thread