fix(a11y): use --link-blue for secondary login button (contrast WCAG 1.4.3) - #13030
Merged
Conversation
…1.4.3) .login-links__secondary renders on the --light-beige app-drawer background. --primary-blue (hsl 202 96% 37%) against --light-beige (hsl 48 29% 93%) yields 4.27:1 — below the 4.5:1 AA threshold. --link-blue (hsl 202 96% 28%) gives 6.51:1 against --light-beige and 7.41:1 against white (hover state). Fixes the 11 login-links__secondary violations tracked in #13009.
lokesh
approved these changes
Jul 3, 2026
50 tasks
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.
Summary
.login-links__secondaryrenders on the--light-beigeapp-drawer background.--primary-blue(hsl(202, 96%, 37%)) against--light-beige(hsl(48, 29%, 93%)) = 4.27:1 — fails WCAG 1.4.3 AA (4.5:1 required).--link-blue(hsl(202, 96%, 28%)) — 6.51:1 against--light-beigeand 7.41:1 against white (hover state). Both pass AA.The primary button already uses
--link-bluein its hover state (visual intent unchanged — same family, just slightly darker at rest).Test plan
color: var(--link-blue),border: 2px solid var(--link-blue).color-contrastviolations on.login-links__secondary.Part of WCAG 2.1 AA a11y remediation — tracked in #13009