reactjs/react-modal

Focus escapes modal when radio buttons in modal

Open

#636 geöffnet am 29. März 2018

Auf GitHub ansehen
 (8 Kommentare) (11 Reaktionen) (0 zugewiesene Personen)JavaScript (7.294 Stars) (828 Forks)batch import
accessibilitybugeasygood first issue

Beschreibung

Summary:

When there are radio buttons in a modal, you can escape focus with shift-tab.

Steps to reproduce:

Steps are included in the test case below

Expected behavior:

You should not be able to escape the modal's focus

Link to example of issue:

https://codesandbox.io/s/my9vm34m68

Additional notes:

Not sure if it's related specifically to radio buttons, but that is what is causing the issue for me

Contributor Guide