Publish button shows unnecessary tooltip #56755
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Editor
/packages/editor
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Noticed while working on #56214
The Publish button in the settings sidebar may show a tooltip that just repeats the visible text in the button. The button used to truncate the visible text (at least in the Site editor). It was recently changed to show the full date / time so that the tooltip seems unnecessary now and it just clutters the UI.
See #56319 and #56196
However, when the Timezone setting is set to the user actual time zone, the visible text is a shorter version of the expansion shown in the tooltip. Only when the Timezone setting is different, the visible text and the tooltip text are the same.
Screenshots:
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: