Site editor: Navigator screens inconsistent icon buttons position and missing tooltip #52590
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Package] Edit Site
/packages/edit-site
[Type] Bug
An existing feature does not function as intended
Description
Discovered while investigating #52510
In the navigator screens, some editable objects (e.g. custom templates, custom patterns, pages) show the 'Actions' and 'Edit' icon buttons, in that order. However, for the Navigation menus these icon buttons are inconsistent:
While the inconsistent order is a design / consistency / usability issue, the missing tooltip is an accessibility issue.
I'd like to remind that any icon button must visually expose its accessible name. Tooltips are required for these buttons. Since there have been several cases of icon buttons with no tooltip (and still there are a few to cover) I'd appreciate a bit more of attention to this requirement from everybody. If education and training turns out to be not enough to make sure icon buttons always have a tooltip, we should consider to make thie behavior automatic and / or implement tests for all icon buttons.
Since this seems a quick and self-contained fix, I'd suggest to consider it for inclusion in the approaching WP 6.3 release.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: