From eaacb02baf8efaa9a559559b35261b447a813527 Mon Sep 17 00:00:00 2001 From: James Perretta Date: Fri, 13 Dec 2024 16:03:54 -0500 Subject: [PATCH] Accessibility fixes for the modal component: - ESC to close - closing-x tab-navigable, enter to trigger - Added aria label for closing-x - Added dialog role --- src/components/modal.vue | 11 ++++++++--- tests/test_components/test_modal.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/components/modal.vue b/src/components/modal.vue index 54f24ae97..79de711e0 100644 --- a/src/components/modal.vue +++ b/src/components/modal.vue @@ -1,14 +1,19 @@