reactjs/react-modal

Focus escapes modal when radio buttons in modal

Open

#636 创建于 2018年3月29日

在 GitHub 查看
 (8 评论) (11 反应) (0 负责人)JavaScript (828 fork)batch import
accessibilitybugeasygood first issue

仓库指标

Star
 (7,294 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南