Skip to content

Commit

Permalink
Consistent labels for the WP logo and back links. (#49659)
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored Apr 11, 2023
1 parent 833176a commit 79623c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ export default function SidebarNavigationScreen( {
) : (
<SidebarButton
icon={ isRTL() ? chevronRight : chevronLeft }
aria-label={ __( 'Navigate to the Dashboard' ) }
label={ __( 'Go back to the Dashboard' ) }
href={ dashboardLink || 'index.php' }
label={ __( 'Dashboard' ) }
/>
) }
<Heading
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/site-hub/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const SiteHub = forwardRef( ( props, ref ) => {
const siteIconButtonProps = isBackToDashboardButton
? {
href: dashboardLink || 'index.php',
'aria-label': __( 'Go back to the dashboard' ),
label: __( 'Go back to the Dashboard' ),
}
: {
label: __( 'Open Navigation Sidebar' ),
Expand Down

1 comment on commit 79623c9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 79623c9.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4665158193
📝 Reported issues:

Please sign in to comment.