From 9ce4c9aa6001820c290763f1c51b40040a205777 Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Sun, 15 Mar 2026 21:08:09 -0500 Subject: [PATCH] fix(a11y): add aria-label to collapsed sidebar links, aria-current to active --- frontend/src/components/layout/Sidebar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 414dc8f..6b4d20b 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -282,8 +282,10 @@ export function Sidebar() { showCollapsed && 'justify-center px-0', )} title={showCollapsed ? item.label : undefined} + aria-label={showCollapsed ? item.label : undefined} + aria-current={active ? 'page' : undefined} > - +