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

make the default text color of code listings more accessible #3057

Merged
merged 1 commit into from
Aug 22, 2020
Merged

make the default text color of code listings more accessible #3057

merged 1 commit into from
Aug 22, 2020

Conversation

ahus1
Copy link
Contributor

@ahus1 ahus1 commented Jul 25, 2020

This is a bugfix supporting #53.

Proposed solution

The original red code text on grey background doesn't pass the https://webaim.org/resources/contrastchecker/ on background #F5F5F5
This change fixes this by changing text color #f14668 to #da1039

Tradeoffs

None

Testing Done

NPM Build. Screenshot constract checker below:

Before: https://webaim.org/resources/contrastchecker/?fcolor=F14668&bcolor=F5F5F5

image

After: https://webaim.org/resources/contrastchecker/?fcolor=DA1039&bcolor=F5F5F5

image

Changelog updated?

No.

Suggested text: "Darken text color of code element to pass AA accessibility"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants