equal-access
equal-access copied to clipboard
Update color-contrast rules error messages to include detected colors #1666
Describe what needs to be accomplished
Currently, we do not expose detected colors on the failures, providing detected colors and the failing ratios in error for rules will be very helpful for a developer to fix the issue. We could further tweak the wording as well.
- [ ] IBMA_Color_Contrast_WCAG2AA”
- [ ] IBMA_Color_Contrast_WCAG2AA_PV
Why does this need to be accomplished
Related issues or references
Supporting notes and details

From triage: We can expose the hex/rgb values here in the rule output.
This is to help the developer know "which background" is causing the color contrast errors. (Especially in the case where there are 3+ colors near each other)