Repository navigation
fix(site/src): keep selected option check icon color constant on focus - #32012
Merged
Merged
Conversation
The check icon in the Create user Login type select and Organization combobox inherited the item text color, so it dimmed from content-primary to content-secondary when focus moved to another option. Pin it to content-primary.
aqandrew
approved these changes
Nov 12, 2026
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.
The check icon on the selected option in the Create user "Login type" select and "Organization" combobox took its color from the option text. When keyboard focus moved to another option, the check dimmed from
#FFFFFFto#A1A1AA(2.56:1), which Deque flagged under WCAG 1.4.11. The icon now always usestext-content-primary, so the selected indicator keeps the same color whether or not its option has focus. In light mode it stays near-black.Closes DEQ-88. The other two parts of that ticket (focus rings on the organization and login type options) were fixed in #30354 and #31567.
A new
SelectedOptionNotHighlightedstory lets Pixel capture the selected org's check while another option has focus. The Login type state is already covered byLoginTypeKeyboardFocus.Before and after
The selected option ("password" and "My Organization") is shown while focus is on another option. Check icon color measured with Playwright in Storybook:
#A1A1AA)#FFFFFF)Decision log
content-primarymatches the focused text color, so the icon looks the same as before while its option has focus.SelectItemandDropdownMenuCheckboxItem, and about 10 otherCommandItemcomboboxes (Autocomplete, FilterCombobox, the agents org and project selectors, and others), have the same pattern. Changing the sharedSelectItemwould restyle about 31 selects that Create user does not use, so those belong in a follow-up.Generated by Coder Agents on behalf of @chrifro.