👌 move aria-label to icon link wrapper
This commit is contained in:
parent
52be7ef735
commit
81cf415740
1 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ const Icon = styled.a`
|
|||
}
|
||||
`;
|
||||
|
||||
const StyledLink = styled(Link)`
|
||||
const IconLinkWrapper = styled(Link)`
|
||||
width: 3rem;
|
||||
margin-right: 1.25rem;
|
||||
margin-left: none;
|
||||
|
@ -97,9 +97,9 @@ const IDEViewMobile = (props) => {
|
|||
return (
|
||||
<Screen>
|
||||
<Header>
|
||||
<StyledLink to="/">
|
||||
<CloseIcon viewBox="20 21 60 60" aria-hidden="true" aria-label="close header" />
|
||||
</StyledLink>
|
||||
<IconLinkWrapper to="/" aria-label="Return to original editor">
|
||||
<CloseIcon viewBox="20 21 60 60" />
|
||||
</IconLinkWrapper>
|
||||
<div>
|
||||
<h2>{project.name}</h2>
|
||||
<h3>{selectedFile.name}</h3>
|
||||
|
|
Loading…
Reference in a new issue