-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 button focus style #838
Conversation
Noticed that buttons don't have a focus styles while testing tabbing. cc @afercia |
73dd98e
to
a7656c4
Compare
Right. Any focusable control should have a focus style, see #574 |
❤️ that you're working on this. It's already much better in this branch. Design wise — and perhaps @afercia can advise here as well: is it better to have only the focus rectangle to indicate highlight, or would it be good to combine it with something like the hover style also? |
Might it be good to keep the focus style the same in all of WordPress? |
Absolutely! Good point. |
It seems like we'll want to do further work in order to fully address #574. But this is a GREAT step in the right direction. Thank you. Let's ship this and iterate. |
I agree, let's merge and iterate, I mainly just want to see where the focus is now. :) |
Should the focus styles have been applied to |
|
|
Related: #839 |
Okay, but they don't have these styles in common, so do we want them to share it? |
Not sure but the "Preview" is always disabled for me, any flow to follow to make it enabled? Worth noting disabled buttons are not focusable and shouldn't have a focus style. |
This is a recent change, you have to save your post before it gets enabled. This is not explicitly the intended behavior, though, and it is subject to iteration. Ideally we'll make it behave exactly as the current preview button works. |
Ah ok thanks. Saving is disabled for now so will wait 😉 |
See #574. Also #520.