-
-
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
@gray-light (#999) below WCAG minimum contrast #13847
Comments
Yeah, I'm probably down to change to |
As "Accessibility" is a feature of the current version of Bootstrap you could qualify this as a bug against that feature. So my suggestion would be with v3.2. |
IMHO, seems draconian to consider color tweaks to be backward-compat breakers. +1 for doing it in v3. |
Yeah, silly comment 😁. |
Fixed by #13854. |
|
@chrisbainbridge Does #13943 address your concern? |
@cvrebert Yes, thank you. |
`@gray-light` darkens from twbs#999 to twbs#777, which puts `.text-muted` at the threshold for the 4.5:1 WCAG minimum contrast[1]. twbs#777:#fff is 4.48:1. The “Example” headers in docs become #959595, which is contrast ratio 3:1, the minimum for larger text. Since the headers are less important than the surrounding text, 3:1 is fine and an improvement on the previous #bbb:#fff (1.92:1). Fixes issue twbs#13847. [1] http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
According to Web Content Accessibility Guidelines, the minimum contrast ratio between <18px text and its background should be 4.5:1.
#999
on#fff
(@Gray-Light / ".text-muted" on "body") has a contrast ratio of 2.85:1, lower than recommended even for large text.#767676
for@gray-light
would give a contrast ratio of 4.54:1 and pass for all sizes of text.I used the WebAIM Color Contrast Checker to test the values.
The text was updated successfully, but these errors were encountered: