-
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
Sibling Inserter: "Add block" icon is accessible by keyboard but cannot be seen #11345
Comments
I can take a look at this today if no one has done so already |
This may need design feedback now that the more button has been added to the toolbar. The Insert Block button overlaps it when it is focused. |
Yep and there are a few more considerations that make this issue a bit more serious than it appeared at first sight: 1 2 3 I'd kindly ask to give this issue some higher priority, as it appears to be not just a visual glitch. |
Good catch. I'll play around with it more and see what I can find out. My guess is something else broke with the addition of that new menu. Maybe I can at least get it working consistently then it'll just be a matter of a new ux placement for it. |
I think this was fixed by #11685? |
@chrisvanpatten Yep this appears to be fixed already. |
Great! I'll close this and if there's a regression or a browser compat issue or something else that pops up, we can reopen :) |
I’m sorry I interpreted Luke’s comment as confirmation the issue was fixed. Luckily with GitHub it’s painless and not a problem at all to reopen an issue even if a mistake is made. |
@afercia @chrisvanpatten My apologies as well, I didn't realize that the fix only applied to blocks with shorter toolbars at the top! |
We're still waiting on design feedback for this, right? The only semi-obvious solution that jumps out at me would be to hide the toolbar with the "add block" button is focused |
Yeah, I agree — this works, but it is less than ideal. I'm going to change this to |
I'd just like to kindly note this issue is waiting for a solution since 7 months. The root cause is that this button was originally placed after the block (no problems there) and then moved before. Its placement is not ideal for usability and accessibility as well. As a user, when I tab into a block I'd like to get to the content area as soon as possible. Instead, the first thing in the source order within the block is this "Add block" button which doesn't make much sense from a work flow perspective. Not to mention that for keyboard and screen reader users, it doesn't really make sense. |
I'm in favor of exploring a solution that moves this below the block. We just need to be weary about how and when this inserter icon appears. I've run into times when it covers a toolbar link that I'm trying to get to as well. |
I made #13571, which suggests an overhaul to the sibling inserter that would fix this issue. |
I believe this was fixed in #19596: The sibling inserter is no longer blocked by the toolbar. |
Steps to reproduce:
Shift+Tab
until the "Add block" icon gets focus.Result: I expected to see the "Add block" icon visually if I navigate to it from a paragraph block using the keyboard, but instead it is stuck behind the block toolbar. (20s)
Seen at http://alittletestblog.com/wp-admin/post.php?post=15423&action=edit&revision=15425 running WordPress 4.9.8 and Gutenberg 4.2.0-rc.1 using Firefox 63.0 on macOS 10.13.6.
The text was updated successfully, but these errors were encountered: