-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Describe the bug
Our "success" and "error" notification link texts fail the Lighthouse accessibility check for foreground / background contrast.
To Reproduce
Steps to reproduce the behavior:
- Go to https://cfpb.github.io/design-system/components/alerts
- In Chrome developer tools, run a Lighthouse audit
Expected behavior
Link text contrast should pass accessibility checks.
Additional context
Discovered via automated GitHub Action here. See failing Lighthouse report here.
Success text is #0072ce (pacific) on #f0f8eb (green-10), which is 4.49:1.
Error text is #0072ce (pacific) on #fbefec (red-10), which is 4.34:1.
WCAG AA requirement is 4.5:1.
See previous related report at #1943; @anselmbradford tried to fix in #1944 but it seems this broke somewhere, maybe in #1919?
@sonnakim for awareness
sonnakim
