reactjs/react-modal

Focus escapes modal when radio buttons in modal

Ouverte

#636 ouverte le 29 mars 2018

 (8 commentaires) (11 réactions) (0 personne assignée)JavaScript (828 forks)batch import
accessibilitybugeasygood first issue

Métriques du dépôt

Stars
 (7 294 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur