Skip to content

Commit

Permalink
refactor(Header): accessibility image alt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ITML committed Feb 24, 2022
1 parent d0b81f3 commit a7347a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class Header extends Component {
onClick={this.desktopBurgerOnClick}
>
{/* <Icon name="close" /> */}
<Image src={closeIcon} />
<Image src={closeIcon} alt="menu close icon" />
</Header.BurgerAction>
)}
<div
Expand All @@ -298,6 +298,7 @@ class Header extends Component {
? `${searchIcon}`
: `${closeIcon}`
}
alt="search button open/close"
/>
</div>
<Header.BurgerAction
Expand All @@ -313,6 +314,7 @@ class Header extends Component {
? `${closeIcon}`
: `${burgerIcon}`
}
alt="menu icon open/close"
/>
</Header.BurgerAction>
</div>
Expand Down

0 comments on commit a7347a6

Please sign in to comment.