Conversation
Copilot
AI
changed the title
[WIP] Enhance theme accessibility - for both light and dark mode improve all accessibilty aspects, including color.
USe have to use the availaibel mcp servers "playwrite" and "lighthouse"
Fix color contrast violations in gradient buttons and UI borders for WCAG AA compliance
Nov 3, 2025
…ers for WCAG AA compliance Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
46fb229 to
4aed7c7
Compare
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.
The theme's gradient buttons and outline button borders failed WCAG AA contrast requirements (3.01:1 and 1.72:1 respectively, needed 4.5:1 and 3:1).
Changes
Button Contrast Fixes
linear-gradient(135deg, #1998ff, #ff5a02)tolinear-gradient(135deg, #0073cc, #cc4400)Focus Indicator Enhancements
--ifm-color-primary-light(#66b3ff) for 7.35:1 contrast--hk-color-primary(#0073cc)High Contrast Mode
Component Updates
Updated color scheme across all component CSS modules:
HoverkraftButton.module.cssHoverkraftHero.module.cssHoverkraftBrandHighlight.module.cssHoverkraftFeatureList.module.cssHoverkraftProjectCard.module.csshoverkraft.css(global styles)Screenshots
Light Mode:
Dark Mode:
All text-on-background combinations now meet WCAG 2.1 Level AA standards (4.5:1 for text, 3:1 for UI components).
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.