Announce "Bridged" badge in MCP Servers list#314255
Merged
meganrogge merged 3 commits intomainfrom May 4, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/378e6876-1900-4737-883c-18dade3c1685 Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix 'Bridged' not read out in MCP Servers section
Announce "Bridged" badge in MCP Servers list
May 4, 2026
meganrogge
approved these changes
May 4, 2026
meganrogge
approved these changes
May 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves screen reader support in the AI Customization “MCP Servers” list by ensuring the visually-rendered “Bridged” badge is reflected in each row’s accessible name when the active customization harness is non-local.
Changes:
- Inject
ICustomizationHarnessServiceintoMcpListWidgetso accessibility labels can depend on the active harness. - Update the list
accessibilityProvider.getAriaLabelto append a localized “Bridged” suffix for built-in and server rows whenactiveHarness !== SessionType.Local.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.ts | Appends “Bridged” to MCP server/built-in row aria-labels based on the active harness and adds the necessary service injection. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 1
Contributor
Screenshot ChangesBase: Changed (5)Errored (18)Fixtures that failed to render — no screenshot was produced.
|
…dates Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/98e88dd1-271e-4f4f-9532-bae9f09f594c Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
meganrogge
approved these changes
May 4, 2026
eleanorjboyd
approved these changes
May 4, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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 "Bridged" badge shown next to MCP server entries in the AI Customization view was rendered visually but never announced by screen readers, since the row's
aria-labelonly contained the server name.Changes
mcpListWidget.ts—accessibilityProvider.getAriaLabelnow returns aderivedobservable for server/built-in rows so the aria label updates reactively whenICustomizationHarnessService.activeHarnesschanges (the same observable that drives the visible badge). The label appends the localized"Bridged"string — reusing the samelocalize('bridged', "Bridged")key used by the visual badge — to avoid translation drift between the two.ICustomizationHarnessServiceintoMcpListWidgetso the accessibility provider can read the current harness state.