Repository navigation
fix(site/src): raise focus indicator contrast to 3:1 - #31567
Merged
Merged
Conversation
Clickable table rows, Select items, and TemplateBuilder cards and summary buttons now use the content-link focus color that other controls use.
chrifro
marked this pull request as ready for review
October 30, 2026 10:11
aqandrew
approved these changes
Oct 31, 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 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.
Fixes the axe Auditor findings "Focus indicator lacks 3 to 1 contrast ratio" (WCAG 1.4.11).
Closes DEQ-567
Closes DEQ-215
Closes DEQ-150
Closes DEQ-294
Closes DEQ-36
Closes DEQ-43
Closes DEQ-54
Closes DEQ-318
Closes DEQ-141
Refs DEQ-88
mainDEQ-449 and DEQ-63 need no change here: their menu and combobox items were already fixed on
mainby #30354.Table,useClickableTableRow; Workspaces and Templates lists): keyboard focus used the 1pxborder-secondaryhover outline. It is now a 2px insetcontent-linkoutline. The hover outline is unchanged.SelectItem, plus the custom login-type item inCreateUserForm; theme picker, HTTP/HTTPS port protocol, sharing role selects): focus only changed the background (#18181Bon#09090B). They now get the same 2px insetcontent-linkring that menu and command items already use.TemplateCard,SelectionSummary): they usedring-border-primary, which is not a defined token, so no ring color was applied. They now usering-content-link.Measured contrast of the focus indicator against the adjacent color:
New keyboard-focus stories (Select, Table clickable row, TemplateCard, SelectionSummary, CreateUserForm login type) let Pixel capture the new focus states.
Decision log
content-link, the focus color already used byButton,Link,Checkbox, menu items, and command items, instead of introducing a new token.CreateUserFormcopies theSelectItemclass string, anduseClickableTableRowrepeats the row variant classes fromTable.Generated by Coder Agents on behalf of @chrifro.