Disabled buttons contrast ratio is not WCAG 2.1 compliant #18954
Labels
Accessibility
This issue is related to accessibility (a11y)
area: material/button
material spec
Issue related to the Material Design spec https://material.io/design/
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Disabled buttons color should contrast with the background with at least a 3:1 ratio to meet new WCAG 2.1 requirements.
What is the expected behavior?
Disabled buttons color should contrast with the background with at least a 3:1 ratio to meet new WCAG 2.1 requirements.
What is the current behavior?
Disabled buttons color contrast compared to the background is less than the required 3:1 ratio.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
https://material.angular.io/components/button/examples
Use a color contrast tool to measure the contrast of a disabled button text color and the background.
What is the use-case or motivation for changing an existing behavior?
The WCAG 2.1 standard will go into effect June 30, 2020.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest, all browsers.
Is there anything else we should know?
Thank you
The text was updated successfully, but these errors were encountered: