Repository navigation
fix(site/src/pages/AgentsPage/components/ChatsSidebar): expose search shortcut via aria-keyshortcuts - #32408
Merged
Conversation
… shortcut via aria-keyshortcuts
jeremyruppel
approved these changes
Nov 18, 2026
aqandrew
had a problem deploying
to
docs-preview
November 18, 2026 21:43 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Agents sidebar Search nav item has
aria-label="Search chats", so theCtrl K/⌘ Khint that appears on hover and focus never reaches screen readers. This PR addsaria-keyshortcutstoSettingsNavItemand sets it on the Search item:Meta+Kon macOS andControl+Keverywhere else, matchinguseAgentsPageKeybindings. The visible label and theKbdhint are unchanged.Closes DEQ-256
/agentssidebar, Search nav item (Ctrl/⌘ K hint)No screenshots: only ARIA changes, and the UI looks the same.
Dropped review finding: FE1 flags assertions on attribute presence. I kept
toHaveAttribute("aria-keyshortcuts", "Control+K")because the attribute is the screen-reader outcome and Pixel can't capture it.AgentChatInput.test.tsxalready assertsaria-keyshortcutsthe same way.Decision log
aria-labelreplaces the button's text content,kbdhint included, so the shortcut never reaches the accessibility tree.aria-keyshortcutsover adding the shortcut toaria-label. It is the semantic way to expose a shortcut, NVDA reports it as the shortcut key, and the existing send button (AgentChatSendButton) already does it.Ctrl ,hint through its tooltip description.🤖 Generated by Coder Agents on behalf of @aqandrew.