fix(a11y): darken brand primary to pass WCAG AA color-contrast, re-enable axe rule#47
Draft
Copilot wants to merge 2 commits into
Draft
fix(a11y): darken brand primary to pass WCAG AA color-contrast, re-enable axe rule#47Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…axe color-contrast rule - --color-primary: #3B7DD8 → #2D63B0 (5.96:1 on white, 5.54:1 on #F4F7FA) - --color-primary-dark: #2A5FA8 → #1F4E8C (maintain hover differentiation) - --color-info: #3B7DD8 → #2D63B0 - All hardcoded #3B7DD8 fallbacks and rgba(59,125,216,X) tints updated - docs HTML files updated (cookies, index, impressum, datenschutz) - Remove .disableRules(['color-contrast']) from phase4-accessibility.spec.ts Closes #38
Copilot
AI
changed the title
[WIP] Fix brand palette color contrast for accessibility
fix(a11y): darken brand primary to pass WCAG AA color-contrast, re-enable axe rule
Jun 15, 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 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.
--color-primary: #3B7DD8failed WCAG AA on both white (4.11:1) and the#F4F7FApage background (3.82:1), causing thecolor-contrastaxe rule to be permanently disabled in the Phase 4 accessibility gate.Palette changes
#F4F7FA--color-primary#3B7DD8#2D63B0--color-primary-dark#2A5FA8#1F4E8C--color-info#3B7DD8#2D63B0--color-text-muted: #5A6380was already at 5.53:1 on#F4F7FA— unchanged.Propagation
#3B7DD8CSS-var fallbacks (var(--color-primary, #3B7DD8)) updated across 27 Vue/TS component filesrgba(59, 125, 216, X)tint references →rgba(45, 99, 176, X)throughout frontend and docsdocs/cookies.html,docs/impressum.html,docs/datenschutz.html,docs/index.htmlupdated (inline--color-primary+--color-primary-hovervars)Accessibility gate
Removed all three
.disableRules(['color-contrast'])calls and their associated comment blocks frome2e/tests/phase4-accessibility.spec.ts. The gate now runs the fullwcag2a/wcag2aarule set includingcolor-contrast.