reactjs/react-modal

Replace focus trap with `inert`

オープン

#1,011 opened on 2023/03/29

 (1 件のコメント) (4 件のリアクション) (0 人の担当者)JavaScript (828 件のフォーク)batch import
accessibilitybrowser apicombining librariesdependenciesdiscussioneasyfeaturegood first issue

Repository metrics

Stars
 (7,294 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Now that browsers have good support for inert, could we consider replacing the custom focus trap logic with this?

Alternatively, we could use the dialog element so we get this behaviour for free.

コントリビューターガイド