Skip to content

Commit

Permalink
Bandaid fix semantics in header back button
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Apr 25, 2022
1 parent 9ac1bd7 commit 7e0c388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/edit-site/src/components/global-styles/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import { chevronRight, chevronLeft } from '@wordpress/icons';
/**
* Internal dependencies
*/
import { NavigationBackButton } from './navigation-button';
import { NavigationBackButtonAsItem } from './navigation-button';

function ScreenHeader( { title, description } ) {
return (
<VStack spacing={ 2 }>
<HStack spacing={ 2 }>
<View>
<NavigationBackButton
<View role="list">
<NavigationBackButtonAsItem
icon={ isRTL() ? chevronRight : chevronLeft }
size="small"
aria-label={ __( 'Navigate to the previous view' ) }
Expand Down

0 comments on commit 7e0c388

Please sign in to comment.