-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: slightly increase color contrast of gray-600 to meet 4.5:1 a11y standard on white backgrounds #434
Conversation
🦋 Changeset detectedLatest commit: bdae906 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Passing run #2169 ↗︎
Details:
Review all test suite changes for PR #434 ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would caution against fixing our color contrast issues by changing the color. I mentioned this is Slack, but the new standard the team has shifted to is to just use gray-700
in our designs instead. We used gray-600
sometimes in the past before we paid too much attention to a11y requirements, but we shifted to using gray-700
in most scenarios about a year ago.
@ryanjwilke It is a slightly bigger shift in color to gray-700 than the slight change here. But I'm ok updating to gray-700 for these uses if that's the suggestion. Honestly we have a lot more uses of gray-500 on white backgrounds in the App, so I'm not sure the approach with those either. Today's gray-600gray-600 in this PRgray-700 |
@jennifer-shehane Yep, I figured this might be for resolving a text contrast issue. I would suggest to use |
The gray-600 color does not meet the a11y standard of 4.5:1 color contrast ratio on white backgrounds. This updates the color slightly to get it there so that this can be used as a back light gray color for designs within Cypress that meets the standard.
Example of violation within Cypress App.
Before
After
Before
After