Skip to content

Commit

Permalink
fix: Set alternative text on SVG img icon in menu close button (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh authored Jul 17, 2023
1 parent cd7316c commit ebdca5b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/header/NavCloseButton/NavCloseButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ export const NavCloseButton = ({
onClick={onClick}
data-testid="navCloseButton"
{...buttonProps}
type="button"
aria-label="Close">
<Icon.Close size={3} />
type="button">
<Icon.Close size={3} aria-label="Close" />
</button>
)
}

0 comments on commit ebdca5b

Please sign in to comment.