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 11, 2023
1 parent d39f350 commit 43c32da
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

0 comments on commit 43c32da

Please sign in to comment.