From 93d853c1f5bad9bdb87f97800183e857b87b72a6 Mon Sep 17 00:00:00 2001 From: ash1shkumar Date: Mon, 15 Jun 2026 19:07:10 +0530 Subject: [PATCH 1/3] feat: improve sidebar accessibility and navigation semantics --- frontend/app/components/Sidebar.tsx | 34 ++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/frontend/app/components/Sidebar.tsx b/frontend/app/components/Sidebar.tsx index 6b63cbe..7ece5dd 100644 --- a/frontend/app/components/Sidebar.tsx +++ b/frontend/app/components/Sidebar.tsx @@ -38,7 +38,7 @@ function getNavigationState( return { isActive, - className: `flex items-center gap-2 rounded-xl px-3 py-2 transition ${ + className: `flex items-center gap-2 rounded-xl px-3 py-2 transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-teal-500 focus-visible:ring-offset-2 ${ isActive ? "bg-teal-700 text-white shadow-sm" : "text-slate-700 hover:bg-slate-200" @@ -158,9 +158,16 @@ export default function Sidebar() { ); return ( - ); -} \ No newline at end of file +}