-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(checkbox): Updates to experimental checkbox #1135
feat(checkbox): Updates to experimental checkbox #1135
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.
LGTM 👍 once @jeanservaas signs this off. Thanks @alisonjoseph!
Focus states are pretty hard to determine when using the keyboard to navigate. This does not seem likely to pass a11y. https://www.w3.org/WAI/GL/low-vision-a11y-tf/wiki/Contrast_(Minimum)#Focus_Indicators It either needs to be greater than Also, seems like |
Good catch @tw15egan, let me know how you want to adjust the focus state @jeanservaas |
@jeanservaas This is probably why the original duo-component checkbox had the following focus state. |
Hey Alison,
Last disabled check box's stroke under (Checkbox (input >label) is the Gray 100, it should be the disabled color (Gray 30 / #BEBEBE) |
@alisonjoseph Oh! I just saw that for the selected focus state, I like that, better than the stroke around it! I'm trying to think of a UX reason why we wouldn't be able to have that... maybe because a blue 60 fill is associated with a links/buttons. I'll ask around. We'd also have to change the radio button if we changed this. |
Almost there... few small things
thanks for your patience!!! |
Double checked the text color, just need confirmation on 1px or 2px for the border-radius. It almost seems like its 1.5 in sketch. here is a side by side of 1px vs 2px |
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!
🎉 This PR is included in version 9.26.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #1118
http://carbon-dev-environment-optimistic-kangaroo.stage1.mybluemix.net/demo/checkbox
Hey @jeanservaas this should be pretty close to the sketch file(without having values like .8723864), but let me know if you see anything that needs tweaks. Specifically wasn't sure on the "checked focus" state. The blue border looks pretty thin.