SJ
Sarah JenkinsMaintainer
This is a solid approach for accessible dialogs. Also consider `inert` on the rest of the page while the modal is open — it’s supported in modern browsers now.
AR
Alex Rivera
Great point — we added `inert` in v1.2 alongside the focus trap so screen readers stay inside the dialog.
DC
David Chen
Is `inert` preferable to `aria-hidden` on the root? We’ve been using the latter.