From 2a5d27ffc05bdc4bde4df321b10f10a4208f540e Mon Sep 17 00:00:00 2001 From: SyedaAnshrahGillani Date: Wed, 1 Oct 2025 17:04:35 +0500 Subject: [PATCH] fix(accessibility): Use buttons for modal backdrops --- src/App.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index eb3237f..ef82f67 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -491,9 +491,10 @@ function AppContent() { return (
{/* Backdrop */} -
setShowVersionModal(false)} + aria-label="Close version upgrade modal" /> {/* Modal */} @@ -604,7 +605,7 @@ function AppContent() {
-
{ e.stopPropagation(); @@ -615,6 +616,7 @@ function AppContent() { e.stopPropagation(); setSidebarOpen(false); }} + aria-label="Close sidebar" />