From c55a8e08c4c5665390d4a7301c5a26b3ef72e861 Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Wed, 24 Dec 2025 10:40:38 -0500 Subject: [PATCH] Fix focus trapping using inert attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Wrap main content in container with id="mainContent" - Set inert attribute on background when modal opens - Remove inert when modal closes - This properly prevents all keyboard/mouse interaction with background 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 25fd04a..5d191d9 100644 --- a/index.html +++ b/index.html @@ -635,6 +635,7 @@ +
@@ -708,6 +709,7 @@
+