-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Accessibility fixes for marketing buttons #716
Conversation
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.
Looks good, but let’s wait on a release branch to merge.
Yep, apologies this is off master. If possible would be great to get a small release into dotcom quickly 😬. I definitely the site designers to take a look first though since it will impact other websites. |
Cool, no prob. I'm stubbing out the release now, so it should be ready by the time you get a review from @skullface and @gladwearefriends. |
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.
Originally $blue-450
was supposed to be a 42% mix (https://codepen.io/skullface/pen/f5f527ce4afcc91c125e2d192df94de9?editors=0100#0 — as opposed to 50% as implemented) to pass AAA large and AA normal ratio requirements.
I’m 👍 okay with removing 450
in favor of 500
as my use is pretty strictly on dotcom pages, but I shouldn’t be the only Site Design voice here. @gladwearefriends and @trosage’s work using 450
touches more unique designs and other GitHub sites like @broccolini mentioned.
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'd prefer keeping $blue-450
but redefining the variable to 42% as @skullface mentioned
Thanks everyone for the deeper context, that's really helpful. Here's a few things to consider, but seems like it won't be too difficult to find accessible solution you're happy with.
As a quick next step, would like to hear feedback on the color variable name and context of use. |
@broccolini I think that's a fair compromise. But I think we should just name the color variable |
I've updated the variables in this pr, please test and check changes before shipping! |
This looks good to me (compared with the live site), but @trosage I'd love your eyes on it too if you've got some time. 🙇 |
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.
looks good to me! thanks for working with us to catch this and help make things more accessible ✨
LGTM too! Thank you, DS friends 💕 |
It seems you approve here: #716 (comment)
This pr is a follow-up to https://github.com/github/github/pull/109480 which fixes color contrast on buttons and text for our logged-in homepage. We need to fix this on the logged out homepage too and any other sites (such as help) that use these styles. So it makes sense to fix in Primer.
Can someone else take this on and get updated in dotcom asap? We're aiming to get as much as possible fixed by 3/11/19 (this Monday).