Repository navigation
Conversation
|
Waiting on emojimart dependency removal here 🙂 Watch this space. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f4af6c1d1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… filter (#32013) 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 as `bedrock` beside the AWS logo, lost the type for screen reader users (WCAG 1.1.1). `ProviderIcon` now takes an optional `alt`, which defaults to `""`, so other callers don't change. `ProviderFilter` sets 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 | Ticket | UI surface | |---|---| | DEQ-330 | AI Gateway > Sessions, "All providers" filter options. Not visible: the only change is the accessible name, so no screenshots. | <details> <summary>Grouping and decision log</summary> - Batch `alt-text-missing-active`: DEQ-330 and DEQ-482 are eligible. Each has its own root cause, so this PR covers only DEQ-330. - DEQ-482 (template icons in the Templates table) is not in this PR. The icon is admin-chosen and there is no description source on `main`. #30728 adds `getBuiltinImageDescription()`, but it is still open and changes files outside `site/`. - Deque suggested the alt "AWS". "AWS Bedrock" comes from the page's existing `getProviderDisplayName`, which `ProvidersBadge` and `SessionSummaryTable` already use, so the wording matches. - When the label already contains the type label, the alt is left empty, so options like `anthropic-prod` aren't announced as "Anthropic anthropic-prod". - The fallback `Building2Icon` (an unknown type with no icon) ignores `alt`, because the generic icon carries no information. - Self-review: `frontend-review` passed all rules. `frontend-deep-review` raised 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 keeps `aria-label="Select provider"`. - Not fixed here, noted for follow-up: `ProvidersBadge` has the same decorative icon next to a configured name, and `SelectFilter`'s trigger `aria-label` replaces its visible text. </details> 🤖 Generated by Coder Agents on behalf of @jeremyruppel.
Alternative to #30666, independently based on
mainand updated for the Frimousse/Emojibase migration in #30526. Built-in image descriptions belong to asset metadata, not filename heuristics or the picker component. No Emoji Mart dependency is introduced, and no packages are added.An authored icon catalog supplies meaningful names to Frimousse and descriptions to a synchronous
getBuiltinImageDescription()lookup. Generated emoji descriptions use the existing pinned Emojibase English labels. Group avatars in chat sharing and the shared workspace autocomplete opt into descriptions; stored URLs and the default decorativeAvatarbehavior stay unchanged. Picker searches retain filename aliases such ask8s,aws-dark, andgemini-monochrome.Design rationale, tradeoffs, and validation
mux.svgalias remains supported for saved URLs and descriptions but is hidden from the picker and icon list in favor ofxum.svg.undefined; each caller decides whether an image is informative. Custom-image descriptions and adoption on other screens remain out of scope. No API or database migration is needed.Local validation passed: frontend format/check/lint (including types), 51 targeted unit tests, 22 Chromium Storybook cases, production build, deterministic generation, missing-label failure guard, and spelling checks. Frontend reviews and browser checks covered search labels, keyboard selection, and sharing accessible names. Existing popover accessibility findings and narrow-screen picker overflow are outside this diff; this does not claim full accessibility compliance. Screenshots are shared in chat rather than uploaded here.