-
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
Remove "block" from "Hide Block Settings" and "Show Block Settings" labels #22955
Remove "block" from "Hide Block Settings" and "Show Block Settings" labels #22955
Conversation
Since the button opens the block inspector, where advanced block settings go, I think the wording should be "Show advanced settings". |
Personally, I'd vote for leaving "Block" in for extra clarity since blocks are still relatively new, but if you're going to be changing it, "Show advanced settings" looks fine. |
I would go with either "Show advanced settings" or "Show additional settings". |
Considering that Advanced settings is a group of block settings among other possible ones, it may be better to use a broader term, to refer to all metaboxes that are presented to users. It is good the simplicity and consistency of Show Settings/Hide Settings, as mentioned above and on #22920 Regarding the proposal of Show Additional Settings/Hide Additional Settings, simpler translations are achieved with the synonym Show More Settings/Hide More Settings. |
@marceloaof I really like the "Show More Settings/Hide More Settings" option. Should we go with that? |
Hi @bartczyz If no more considerations are offered in the next hours, it is safe to ask a reviewer to approve "Show More Settings/Hide More Settings". It is a good balance. It serves all mentioned ideas. 👍 Easy-to-read outside english and immediately-understood for screen readers too. |
I'm definitely a fan of "Show more settings". It's simple and gets the point across. |
? __( 'Hide More Settings' ) | ||
: __( 'Show More Settings' ); |
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 label should use sentence case to match other controls.
? __( 'Hide More Settings' ) | |
: __( 'Show More Settings' ); | |
? __( 'Hide more settings' ) | |
: __( 'Show more settings' ); |
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.
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.
Oh, well in that case I guess it's fine for now. I guess we can change all of those at once in a separate PR.
Do we need this option at all?
|
@mariohamann The "Show block settings" option was added as a sort of accessibility compromise to make toggling the inspector's visibility easier for keyboard users, who would otherwise have to navigate to the top bar and toggle the sidebar there. (From an accessibility perspective, the block inspector shouldn't even function as sidebar in the first place. Rather, the block inspector should function as a dialog/popover, and it should be accessed from a button in the block toolbar, not the top toolbar. But that's a separate topic.) I think this PR needs to be rebased to get tests to run/pass. |
@ZebulanStanphill Thank you very much for clarification – I assumed it might have something to do with keyboard controls. Still I'm a bit irrititated: Is the goal of the button to (a) open/close the sidebar or (b) to get access to the sidebar? If the goal is to access the sidebar, might it be more convenient to replace the this option with a "jump link" to the sidebar (always opening the sidebar, even if it's closed)? I tested the current behaviour with keyboard and if the sidebar is open, one has to close and open the sidebar again to get access to it from block level (seeing no focus for a moment). Furthermore I'm asking myself if there is any possibility to show items only if Gutenberg is being used with keyboard (e. g. as described in this StackOverflow comment), but I'm not sure if this violates other a11y principles and I think this is seperate topic, too. :) |
@ZebulanStanphill I'm on it. Sorry, was away for a while there. 😉 |
6315ffe
to
6e91eed
Compare
@ZebulanStanphill rebased and ready to go. 👍 |
Description
Update labels from "Hide Block Settings" and "Show Block Settings" to "Hide More Settings" and "Show More Settings".
Closes #22920.
Types of changes
Just labels update, no change in functionality of the component.
Checklist: