WCAG 2.1 - Disabled Buttons #3502
-
In the past I already asked about contrast ratio of buttons on hover and focused. See this post: #3353 Here are two examples for buttons that are deactivated and don't fulfill the default contrast ratio requirement: Would that be fine as long as they fulfill the requirements once activated? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
1.4.3:
1.4.11:
Conclusion: There are no contrast requirements for deactivated elements. |
Beta Was this translation helpful? Give feedback.
-
@TheUntamed i do want to acknowledge that deactivated elements being of low contrast is a significant accessibility barrier for many (or even most) people with low vision. I do not know of any great alternatives, since "grayed out" meaning "unavailable" is such a long-standing UI convention. |
Beta Was this translation helpful? Give feedback.
-
Per WCAG 2Under WCAG 2, there is no contrast requirement for disabled or inactive components, a sort of catch-all which keeps WCAG 2 (developed circa 2005-2007) simpler to implement, and (hopefully) focus on the most important content. However, there are other guidelines than WCAG 2 with which to find salient guidance. And certainly for items like this which are not covered by WCAG 2, it's useful to look toward other standards and practices. Inactive ComponentsElements that are not active, not engageable, not in focus, semi-suppressed, present various considerations.
Practical GuidanceIn the 1990s research of Whittaker/Lovie-Kitchin/Legge et alia in peer reviewed papers such as Visual Requirements for Reading, the definitions of critical size, and critical contrast were established. But also the concept of "contrast reserve", which is the amount of contrast above the JND threshold contrast (the fine point of visibility/invisibility). A Table Referencing Establisshed Contrast Levels and Guidelines
a Words per Minute InactiveDraft guidance at APC-RC is
A contrast reduction of References1 Visual Requirements for Reading |
Beta Was this translation helpful? Give feedback.
-
A followup question: If the button is not disabled, would an icon in the middle, like in the examples of my post above, be enough to fulfill the contrast requirements? (If the icon has a sufficent contrast to the background.) Even if there is no border or background with sufficent contrast to the outside? |
Beta Was this translation helpful? Give feedback.
1.4.3:
1.4.11:
Conclusion: There are no contrast requirements for deactivated elements.