Skip to content

Focus search input on section selection for keyboard parity#312871

Merged
meganrogge merged 1 commit intomicrosoft:mainfrom
meganrogge:merogge/enter-space
Apr 28, 2026
Merged

Focus search input on section selection for keyboard parity#312871
meganrogge merged 1 commit intomicrosoft:mainfrom
meganrogge:merogge/enter-space

Conversation

@meganrogge
Copy link
Copy Markdown
Collaborator

When a section is selected via keyboard (Enter/Space) in the agent customizations sidebar, focus now moves to the search input of the active content widget. This matches the mouse-click behavior and fixes a WCAG 2.1.1 keyboard parity concern.

Fixes #312817

When a section is selected via keyboard (Enter/Space) in the agent
customizations sidebar, focus now moves to the search input of the
active content widget. This matches the mouse-click behavior and
fixes a WCAG 2.1.1 keyboard parity concern.

Fixes microsoft#312817
Copilot AI review requested due to automatic review settings April 27, 2026 18:51
@meganrogge meganrogge self-assigned this Apr 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves keyboard accessibility in the AI Customizations management editor by moving focus to the active section’s search input after a section is selected, matching the intended mouse-driven flow and addressing WCAG 2.1.1 keyboard parity.

Changes:

  • After switching sections, programmatically focuses the relevant content widget’s search input (MCP Servers / Plugins / Models / Prompts-based list).
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.ts Focuses the active content widget’s search input after section selection to improve keyboard parity/accessibility.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@meganrogge meganrogge merged commit 2725549 into microsoft:main Apr 28, 2026
30 checks passed
@meganrogge
Copy link
Copy Markdown
Collaborator Author

cc @joshspicer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent customizations list item should focus search input on Enter/Space

3 participants