-
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
Improve tooltip for parent blocks on the block toolbar #56146
Conversation
Size Change: +181 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
packages/block-editor/src/components/block-parent-selector/index.js
Outdated
Show resolved
Hide resolved
Agreed. This is potentially pretty confusin to users. They hover and think "What Group block". But when the context of "Parent" is provided - assuming they understand blocks - then it becomes a lot more obvious what this otherwise cryptic button does 😅 |
The e2e tests need fixing after this change, I'll get to this next week |
Hi team, maybe we could consider adjusting the copy a bit to include the word block, eg, "Select Parent block - Group" which is more aligned to the language we would use with users in support vs "Select parent group" |
That feels like a much larger change. We might want to consider it but not in this PR. |
Would it be better to word it "Select Parent block: Group"? thinking about screen readers here |
79ddfe3
to
770ed92
Compare
I agree with this! Definitely makes it better for the user |
While I do agree the new text clarifies what the parent selector button does, it's worth reminding the tooltip text is the same text that is used to actually label the buttons. When the preference 'Show button text labels' is enabled, this text is visually shown as the button content. Making it so long isn't ideal, see screenshots below. I'd really would like to see any new designs and UI changes take into consideration the 'Show button text labels' preference and treat it like a first class citizen. Ideally, any new design should provide mockups for all the UI states and modes. I will create a separate issue, as this button has a few more problems, unrelated to this PR. WordPress 6.4: Trunk: |
What?
Improves the tooltip to make clear we are going to select the parent of the current block
Why?
Having a tooltip that just says "Select Group" can be confusing for new users who are still not used to the editor's UI. There's no way to know the relationship the icon we are clicking has with the current block.
How?
Changed the string
Screenshots or screencast
Before
After