Skip to content
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

Darken @gray-light to meet accessibility guidelines #13854

Merged
merged 1 commit into from
Jun 18, 2014
Merged

Darken @gray-light to meet accessibility guidelines #13854

merged 1 commit into from
Jun 18, 2014

Conversation

ssorallen
Copy link
Contributor

@gray-light darkens from #999 to #777, which puts .text-muted at the
threshold for the 4.5:1 WCAG minimum contrast[1]. #777:#fff is 4.48:1.

The “Example” headers in docs becomes #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 #13847.

[1] http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html

@ssorallen
Copy link
Contributor Author

I didn't see a section in the guidelines about whether pull requests should include compiled code. I can amend the commit to add compiled CSS if that's what you guys prefer.

`@gray-light` darkens from #999 to #777, which puts `.text-muted` at the
threshold for the 4.5:1 WCAG minimum contrast[1]. #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 #13847.

[1] http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
@cvrebert cvrebert added the css label Jun 18, 2014
@mdo
Copy link
Member

mdo commented Jun 18, 2014

@ssorallen No need, we'll tackle the compilation. Less changes for merge conflicts :).

@cvrebert cvrebert added this to the v3.2.1 milestone Jun 18, 2014
@mdo mdo modified the milestones: v3.2.1, v3.2.0 Jun 18, 2014
mdo added a commit that referenced this pull request Jun 18, 2014
@mdo mdo merged commit cde13fb into twbs:master Jun 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants