From be1994e0c13a122e602fb9364232294324dea268 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Sun, 7 Dec 2025 01:30:57 -0500 Subject: [PATCH] Fix aria-hidden accessibility warning on modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed static aria-hidden attribute from modal element to fix "Blocked aria-hidden on an element because its descendant retained focus" accessibility warning. Changes: - Remove aria-hidden="true" from modal root element - Add role="document" to modal-dialog for better accessibility - Let Bootstrap 5 manage aria-hidden dynamically on open/close The static aria-hidden="true" was conflicting with focus management when the modal opened. Bootstrap 5 handles this attribute dynamically, so it should not be set in the HTML. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/views/layouts/shared/_header.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/shared/_header.html.erb b/app/views/layouts/shared/_header.html.erb index 54dea05..1a5b269 100755 --- a/app/views/layouts/shared/_header.html.erb +++ b/app/views/layouts/shared/_header.html.erb @@ -113,8 +113,8 @@ -