From 331a0c60ced888e82041500cbc52e759b223ebc8 Mon Sep 17 00:00:00 2001 From: Moheeb Zara Date: Sun, 17 May 2026 02:02:31 -0700 Subject: [PATCH] feat(ux/a11y): visible, labeled command-palette trigger in the sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A ⌘K palette with no visible entry point is itself a discoverability + a11y gap (keyboard/SR users can't find it). Added a labeled 'Jump to…' button (aria-label spells out the shortcut) that dispatches a 'commandpalette:open' event the palette now also listens for. Verified the other top a11y items are already satisfied here (sonner Toaster provides the aria-live region; sidebar icon buttons are aria-labeled; skip-link + drawer focus mgmt already present). --- components/app-sidebar.tsx | 12 ++++++++++++ components/command-palette.tsx | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/components/app-sidebar.tsx b/components/app-sidebar.tsx index d544751..8a2c96e 100644 --- a/components/app-sidebar.tsx +++ b/components/app-sidebar.tsx @@ -166,6 +166,18 @@ export function AppSidebar({ member, roleName, taskBadge = 0, commsBadge = 0, pa

{space?.name || 'My Space'}

+
+ +
+ {/* Nav */}