-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
D8 core 724 button hover #537
Conversation
Thanks @cjwest, If you're looking to get rid of the button jumping have a look at the examples on this page for how they did it: https://www.w3.org/TR/wai-aria-practices/examples/button/button.html I also noticed that their hover state differed from their focus state. |
Hey @cjwest , agree that we need something other than color change for button hover/focus state. What do you think about just adding an underline to the text instead? That would work better in the buttons in the CTA component for example. |
Hi @yvonnetangsu, Let me know if you want to run with it and create a PR. Otherwise, I can propose something. |
@cjwest go ahead and run with it. |
Hi @yvonnetangsu, I switched from the outline to the underline. Take a look and if you like it, hit "Squash and merge". |
@cjwest @sherakama Hm....I don't think this PR is for merging into master - looks more like a v6 merge to me 🤔 |
Oh, thank you, @yvonnetangsu, for the clarification! I was debating that. |
Did you do a npm run build, @cjwest ? Looks like all the dist/ asset files were removed. |
Proper branch set and compiled. Ready for review. |
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. GTG!
READY FOR REVIEW
Summary
Hover and focus should rely on something other that a color change. I put in an underline to indicate the change
https://stanfordits.atlassian.net/browse/D8CORE-724
Needed By (Date)
Soon.
Urgency
Would like it for DecanterPalooza
Steps to Test
Check out this branch
Verify the button hover, active, and focus work as expected
Affected Projects or Products
Associated Issues and/or People
See Also