-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
form validation state colors not colorblind-friendly #14744
Comments
Probably it would be better for those concerned about colorblindness accessibility to use the version with icons that's shown in the next section? The meaning of the icons is fairly clear even without color. (Which isn't to say that we'd necessarily oppose improving the color scheme) |
Indeed, using the icons is a good alternative approach. |
If possible, a simple live example demonstrating the proposed new color scheme would be helpful. |
I'm not even colorblind and I can barely tell the difference in the colors. I always manually change them in my own implementations to something brighter. |
@cvrebert We are working on a "colorblind color scheme". I come back with something tomorrow. |
Here is a live example of a proposed new color scheme. |
Does that come close to the minimum contrast level recommended by http://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast ? |
X-Ref: #11605. |
CC: @masterbee of #11432 |
So with regard to the WCAG 2 AA contrast recommendation, none of the proposed colors satisfy the general minimum contrast ratio of 4.5 (as calculated by this tool), although the green meets the looser 3.0 minimum ratio that applies only to "large-scale" text. |
True. Checked and confirmed on http://webaim.org/resources/contrastchecker/. Unfortunately following the WCAG (AA or AAA) regarding the color contrast cannot satisfy colorblind (and even normal) people with the actual situation. Therefore we have modified the plunker with 2 new proposals:
|
Changing these values for v3 isn't going to happen—it's quite a stark change for folks who simply want to upgrade to the latest. v4's colors can and will be changing though, so we can revisit then. |
X-Ref: #54. |
On the following demo url (http://getbootstrap.com/css/#forms-control-validation) colorblind people cannot easily see the difference between error/warning/success color.
My suggestion would be to choose more saturated colors like for instance:
success: #00B900
warning: #E1B500
error: #FF0000
Thanks for thinking to the accessibility of bootstrap.
The text was updated successfully, but these errors were encountered: