From 412911a839d8b38fc00bdaf817383fca9f808749 Mon Sep 17 00:00:00 2001 From: Daksha1611 Date: Fri, 14 Aug 2026 21:39:10 +0530 Subject: [PATCH] fix(a11y): make meeting-minutes modal keyboard-operable The dialog was toggled via the `open` attribute instead of showModal()/close(), so Escape didn't close it and the close icon was a non-focusable
. Keyboard-only users had no way to close the modal once opened. - Drive the dialog with showModal()/close() so native Escape-to-close and focus-trapping work, and sync state back via the dialog's onClose event. - Replace the close-icon
with a real
+
); setModalHeader(modalHeader); @@ -222,8 +238,8 @@ function CommunityMeetingsCardGrid({ cards }) { /> + ref={modalRef} + onClose={() => setIsModalOpen(false)}>
{modalHeader}