Addressing insufficient contrast on disabled buttons #3262
Unanswered
tristanpendergrass
asked this question in
Q&A
Replies: 1 comment 5 replies
-
It's disabled, you're not supposed to read it or use it or do anything with it unless it gets enabled. |
Beta Was this translation helpful? Give feedback.
5 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hi folks,
I am trying to use a
<button class="btn" disabled />
but finding that the contrast between button text color and button color is way too low. I can plainly observe that I can barely read it myself, but just to double check I measured the contrast with the WCAG accessibility tool which reports it's only 1.45, not enough to meet standards.I'm curious what other folks find themselves doing for disabled buttons? Even if you're not determined to meet certain accessibility guidelines, it's just hard to read and I would think most people end up styling their disabled buttons differently than the default?
Beta Was this translation helpful? Give feedback.
All reactions