Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages are not announced for screen readers #297

Open
dominoweir opened this issue Oct 1, 2024 · 2 comments
Open

Error messages are not announced for screen readers #297

dominoweir opened this issue Oct 1, 2024 · 2 comments

Comments

@dominoweir
Copy link

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:

  1. Turn on your device's screen reader (Cmd+F5 on my Mac to turn on VoiceOver)
  2. Load any page or component that contains a recaptcha
  3. Check the recaptcha text box and note that it is announced as checked by the screen reader
  4. Wait one minute for the recaptcha to expire until the error message pops up
  5. Note that the error message is not announced
@Emmanuel-222
Copy link

Please assign this to me.

@dominoweir
Copy link
Author

@Emmanuel-222 I don't think I have powers to assign since I'm not a project owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants