reactjs/react-modal

Focus escapes modal when radio buttons in modal

開放

#636 建立於 2018年3月29日

 (8 則留言) (11 個反應) (0 位負責人)JavaScript (828 個分叉)batch import
accessibilitybugeasygood first issue

倉庫指標

星標
 (7,294 顆星)
PR 合併指標
 (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

貢獻者指南