No more focus-trap libraries for simple cases. Put `inert` on the main content when a modal opens and the b…
Vivaan Patel
Frontend Engineer | React, Next.js, TypeScript | Obsessed with fast, accessible UIs
No more focus-trap libraries for simple cases. Put `inert` on the main content when a modal opens and the browser handles keyboard focus and screen readers. Supported in all modern browsers now.
5 reactions2 comments
