-
Notifications
You must be signed in to change notification settings - Fork 149
Error messages are not announced for screen readers #297
Copy link
Copy link
Open
Description
react-google-recaptcha version: 3.1.0
react-async-script version: unclear, I don't see it in our lockfile as a dep
The status of the checkbox for recaptcha is announced correctly with a screen reader turned on but the expiration message is not. This is confusing for screen reader users, and could probably fixed by turning the DOM element for the error message into a live region (MDN docs).
To reproduce:
- Turn on your device's screen reader (Cmd+F5 on my Mac to turn on VoiceOver)
- Load any page or component that contains a recaptcha
- Check the recaptcha text box and note that it is announced as checked by the screen reader
- Wait one minute for the recaptcha to expire until the error message pops up
- Note that the error message is not announced
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels