react-modal
react-modal copied to clipboard
Cannot tab to reCAPTCHA in Safari
Summary:
Tabbing skips reCAPTCHA inside of modal on Safari.
Steps to reproduce:
- Open linked example in Safari desktop
- Attempt to tab through content (the modal is already open)
- Tabbing skips the reCAPTCHA completely
Expected behavior:
The user should be able to tab from the inputs and buttons to the reCAPTCHA.
Link to example of issue:
Example can be found in this CodePen
Additional notes:
I am using the react-google-recaptcha
package, but I believe this has to do with the reCAPTCHA being inside of an iframe.
react
version: 17.0.2 (but also happening in 16.x.x)
react-modal
version: 3.13.1
react-google-recaptcha
version: 2.1.0
Safari version: 14.1