-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Reusable blocks: the "Manage all..." link in the Inserter should look like a link #10009
Comments
Also see #9989 |
I want to just check I understand what is being suggested. The styling is not going to be changed - it will still be an icon - but it's how it's formatted? |
Icon-only controls are an anti-pattern for accessibility and should be avoided when possible. The a11y feedback is to change this in a textual link that looks like a link. That said, if the team doesn't want to change it then it's a responsibility of the team if this control is not fully accessible. Thanks. |
Chiming in here from: from both an accessibility and usability perspective this should not look like a button. Currently that button is a really janky UX and it looking like a button makes me think clicking it will keep me in the editor context, but once I do click it (or press That is super-unexpected from just a UX perspective. Additionally, there are accessibility concerns because I too expect that button to… act like a button 😄 That "button" is a link to another page on the site entirely and should be communicated as such. I don't see why we can't do: That much more clearly communicates the action of clicking on that item. |
@tofumatt can we align to the right the link? It would fit in better I think with actions if that happened. Thanks for stepping in. |
Works for me! I'll make the change in about an hour and update the screenshots. |
* fix: make "Manage Reusable Blocks" a link Fix #10009 * Move text alignment to the right
When there are saved reusable blocks, a link that looks like a button is displayed in the inserter, in the Reusable block section:
This is a link styled like a button. It just happened to me, using the keyboard, to press spacebar because it looks like a button and I've stared at the screen waiting for something to happen...
Of course, nothing happened because it's a link and it gets activated just with the Enter key.
This is a very good example of a design choice made just for visual purposes that is actually confusing for users. This is a link, it triggers navigation to an actual, different admin page (
wp-admin/edit.php?post_type=wp_block
) thus should look like a link.Other improvements are certainly possible. For example, the discoverability of this control could be improved. Also, seems to me there's a bit of excessive title-casing:
Manage All Reusable Blocks
seems a bit too much to me.For reference, see #8888 / #8927, and #4325 / #4471. See also the copy guidelines https://github.com/WordPress/gutenberg/blob/master/docs/reference/copy-guide.md#five-pay-attention-to-capitalization
Seems there's still a bit of inconsistency across the UI:
The text was updated successfully, but these errors were encountered: