-
Notifications
You must be signed in to change notification settings - Fork 156
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
Better keyboard support for distributor admin menu #569
Better keyboard support for distributor admin menu #569
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.
The code looks good @samikeijonen. There is a small issue that internal connections can't be selected using keyboard because they're still using div
. Can you please update?
height: 30px; | ||
line-height: 28px; | ||
padding: 0 12px 2px; | ||
border-radius: 3px; |
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.
we should keep the border-radius
and text-shadow
because they're overridden by admin bar style.
@dinhtungdu Unfortunately I have zero hours for updates at the moment. |
@samikeijonen no problem, I will take over this. |
@dinhtungdu Testing this locally, I'm seeing the connection list break if you have more than 4 connections: I believe once there are 5 or more connections, we constrain those to a box that you can scroll through, to keep the list down. Looks like something changed here that is preventing that from working properly, so the entire connection list is shown and there's no way to scroll through them all. |
Thank @dkotter, you're right, the style to handle overflow was removed. I added it again, the list is now working correctly with more than 4 connections. |
@dinhtungdu Looks good 👍 |
Fixes #563
Description of the Change
<button>
instead of<div>
.disabled
attribute when post have been syndicated.Alternate Designs
None.
Benefits
Better keyboard support when using correct semantics out of the box.
Possible Drawbacks
Complex codebase, needs testing that nothing is broken.
Verification Process
Distribute and push article using only keyboard.
Checklist:
Applicable Issues
#563