Repository navigation
fix(site/src): name the provider type icon in the AI Gateway provider filter - #32013
Merged
Merged
Conversation
aqandrew
approved these changes
Nov 12, 2026
jeremyruppel
temporarily deployed
to
docs-preview
November 12, 2026 21:53 — with
GitHub Actions
Inactive
This branch was previously 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.
In the AI Gateway provider filter, each option showed the provider type's logo with
alt="". A provider named after something other than its type, such asbedrockbeside the AWS logo, lost the type for screen reader users (WCAG 1.1.1).ProviderIconnow takes an optionalalt, which defaults to"", so other callers don't change.ProviderFiltersets it to the type's display name (for example "AWS Bedrock") when the visible label doesn't already include it. A custom icon stays decorative because we don't know what it shows.Closes DEQ-330
Grouping and decision log
alt-text-missing-active: DEQ-330 and DEQ-482 are eligible. Each has its own root cause, so this PR covers only DEQ-330.main. refactor: describe built-in images from shared asset metadata #30728 addsgetBuiltinImageDescription(), but it is still open and changes files outsidesite/.getProviderDisplayName, whichProvidersBadgeandSessionSummaryTablealready use, so the wording matches.anthropic-prodaren't announced as "Anthropic anthropic-prod".Building2Icon(an unknown type with no icon) ignoresalt, because the generic icon carries no information.frontend-reviewpassed all rules.frontend-deep-reviewraised three should-fix findings (which label helper to use, test queries, an inline fixture) and two nits, and all are fixed. The accessibility audit found no issues: the option's name becomes "AWS Bedrock bedrock", and the trigger keepsaria-label="Select provider".ProvidersBadgehas the same decorative icon next to a configured name, andSelectFilter's triggeraria-labelreplaces its visible text.🤖 Generated by Coder Agents on behalf of @jeremyruppel.