Skip to content

Commit

Permalink
Consistent labels for the WP logo and back links.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Apr 7, 2023
1 parent e9b4e69 commit 4f810e4
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 @@ -45,7 +45,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

0 comments on commit 4f810e4

Please sign in to comment.