-
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
Heading level tooltip covers subsequent level #50402
Comments
It looks like the component only supports positions above and below, but my first instinct would've been to show the tooltip to the right of the heading level. Showing horizontally is also an option. I think I actually saw some designs for this a while back. |
@ramonjd I believe that in earlier versions of WP the heading menu was horizontal as you show, so I wonder about why it was changed. (My guess would that be that straight down motion is easier for users thanks to Fitt's Law: Straight down for a variable distance is easier than across at a variable angle.) Other options:
I think I might really like option 2? |
@ramonjd You got it! It seems that space wouldn't be a concern there, and I could imagine it might even be slightly clearer to folks. |
I also discovered that the heading icons used in the site title block and heading block are made in size 20 instead of the basic size 24 of the other icons. I reported this in #50520. |
In #46003, I proposed using the design from the site title block, where the name of the tag is always visible, but based on feedback I changed it back to the design that only uses the icon. Happy to change it again. |
Update: In #50856, all heading-level icons have been added to the |
@carolinan I really love that PR you made! Changing the heading level selector to show the icons + text label seems like an especially good idea given that the list includes "Paragraph" for the Site Title. So it feels like #46003 would resolve this issue and have a ton of other benefits (clarity, no tooltip, shared compontents, filtering heading levels). |
This problem was recently reported also on #55927 and it is still a clear issue for a good user experience. I kindly disagree with the design feedback provided on #46003 Having both the icon and visible text seems to be the most appropriate solution here. The icon represents a visual hint that may help some users, while the visible text is universally accessible to everyone. |
Description
When hovering over a heading level, the next heading level is covered. This is extremely inconvenient, because in practice this means that Heading 3—the most likely heading a user would want to select since Heading 2 is default and followed by 3—is covered by the Heading 2 tooltip as the cursor passes over Heading Level 2 on the way to Level 3.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: