Open kirbykatie opened 10 months ago
Thank you @kirbykatie this is a great bug report and a bug that is correctable via automated means.
Thank you for looking into it! I also just learned another team we're working with found the same issue with a disabled checkbox, so I just want to flag that all disabled HTML elements should not get an insufficient color contrast error.
Hello! Following up on this - is there a an upcoming release where this issue is expected to be resolved?
Sorry for the delay. The next release will include this fix.
Describe the bug
Running the toolkit on a page with a disabled button, the toolkit shows an error and identifies that button as not having enough color contrast (the button is light gray with white text).
Sufficient color contrast is not needed for disabled elements, according to WCAG 2.0.
To Reproduce
<button disabled>Test</button>
and with the following styling:button:disabled { background-color: #e8e5e1; color: #ffffff; }
Expected behavior
There should be no error regarding color contrast for disabled buttons.
Screenshots
Markup of button:
Version information
Additional context