From 88c98f4a6624d454187759c81337b1ad39317f19 Mon Sep 17 00:00:00 2001 From: Nicolas Varrot Date: Fri, 27 Feb 2026 09:02:19 +0000 Subject: [PATCH] a11y: add role and keyboard dismiss to overlay backdrops in Sidebar --- src/components/Sidebar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 2ae5f3f..197deff 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -343,7 +343,7 @@ export function Sidebar({ sessions, activeSession, onSwitch, onDelete, onSplit, return ( <> - {open &&
} + {open &&
{ if (e.key === 'Escape') onClose(); }} role="button" tabIndex={-1} aria-label="Close sidebar" />}