A11y: ensure contrast compliance for Blau skin#1360
Conversation
|
Size stats
|
|
Accessibility report ❌ 14 problems detectedcomponents-lists--row-list-story (1 violations)components-lists--boxed-row-list-story (1 violations)components-stackinggroup--default (1 violations)patterns-feedback-feedbackscreen--feedback-screen-story (1 violations)patterns-feedback-successfeedback--success (1 violations)patterns-feedback-successfeedback--success-as-header (1 violations)layout-inline--negative-space (1 violations)community-blocks--block-simple (1 violations)community-blocks--block-row (2 violations)community-examplecomponent--default (1 violations)private-components-in-different-skins--default (2 violations)private-image-image-sizes--default (1 violations)ℹ️ You can run this locally by executing |
|
Deploy preview for mistica-web ready! ✅ Preview Built with commit 98ef67e. |
|
Screenshot tests report |
Including inputBorder and adjusting warning to pass contrast.
I agree — in my opinion, those specific icons should use |
Yes, true — we have the same issue in Vivo, Tú, and Telefónica (the latter is already fixed in my WIP branch). For this change, I had to adjust the background ( |
blauRed, grey2, grey4, darkModeGrey6, textBrand, success, control, controlActivated, controlActivatedinverse, toggleAndroid, neutralMedium, neutralMediumInverse, tagTextInactive
| barTrack: palette.grey2, | ||
| barTrackInverse: applyAlpha(palette.grey6, 0.2), | ||
| barTrack: palette.grey3, | ||
| barTrackInverse: applyAlpha(palette.white, 0.5), |
There was a problem hiding this comment.
To maintain parity with the other brands, I thought this worked better in my opinion—but I’ll roll it back.











This PR consolidates the accessibility improvements required to meet contrast ratio guidelines by June 28. Key updates include adjusting the
textNavigationBarPrimarytoken togrey6to ensure adequate contrast overblauBluePrimary. As a result, Blau will no longer employinverse contextson other components (with the exception of inverse cards, which will now useblauBlueSecondaryas their background). Additionally, we've reviewed and updated all color tokens to guarantee a minimum 3:1 contrast for non-text elements and 4.5:1 for text in both light and dark modes. These changes ensure the Blau skin delivers an inclusive and readable experience across themes.