-
-
Notifications
You must be signed in to change notification settings - Fork 736
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
Add outline to toolbar buttons #6313
Conversation
✅ Deploy Preview for plone-components canceled.
|
@ichim-david Checks all green now. Not sure if this needs design input from anybody else but it's ready for merging from my perspective |
A behavior that I have recently seen in good component libraries is to only add the outline when navigating with the keyboard, while avoiding it when clicking things, because that's redundant. I haven't looked into how to do that, but I think it would be a nice improvement here. |
@JeffersonBledsoe this is why we had focus-visible selector instead of simply focus to ensure the outline shows up when using the keyboard navigation. I would set it back as well to avoid outlines when mouse clicking |
Agreed on using focus-visible! I can't remember the reasoning why I removed it initially, but I've added it back. From a quick glance, every browser we support for the editor also has support for |
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 if someone promises me no outline will show when clicking 😂
Fixes #6311
Current progress