Site Editor: fix the 'back to Dashboard' links labelling #49657
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Site
/packages/edit-site
[Type] Bug
An existing feature does not function as intended
Description
In the Site Editor, there are two links to go back to the Dashboard. They're visually presented as 'icon buttons'.
The first one is the WP / site logo. It's labelled
aria-label="Go back to the dashboard"
.The second one is the 'back' icon button. It's labelled
aria-label="Navigate to the Dashboard"
.Also:
Dashboard
, which mismatches the actual accessible name.This is less than ideal from an accessibility perspective.
Also, ideally the visuals of an icon button should clearly suggest its actual accessible name. Users should be able to guess the actual accessible name by the icon. This is particularly important for speech recognition software users. As a user:
Click 'back'
.Navigate to the Dashboard
.Step-by-step reproduction instructions
Go back to the dashboard
.Navigate to the Dashboard
.Dashboard
.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: