Sarah Chen
Maintainer2 hours ago
This is a great approach to handling accessible dialogs. One thing I would add is that you should also consider the `inert` attribute on the rest of the page content when the modal is open. It is now supported in all modern browsers.
Alex Rivera
1 hour ago
Great point! We actually added `inert` support in v1.2. It works alongside the focus trap to ensure screen readers cannot navigate outside the dialog.
Jordan Lee
45 min ago
Is `inert` better than `aria-hidden` on the root? We have been using the latter approach.