reactjs/react-modal

Replace focus trap with `inert`

Offen

#1.011 geöffnet am 29.03.2023

 (1 Kommentar) (4 Reaktionen) (0 zugewiesene Personen)JavaScript (828 Forks)batch import
accessibilitybrowser apicombining librariesdependenciesdiscussioneasyfeaturegood first issue

Repository-Metriken

Stars
 (7.294 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide