From ebdca5ba2b775e1ceacc4229c1191547bf98ea0d Mon Sep 17 00:00:00 2001 From: Sawyer Hollenshead Date: Mon, 17 Jul 2023 10:57:31 -0700 Subject: [PATCH] fix: Set alternative text on SVG img icon in menu close button (#2500) --- src/components/header/NavCloseButton/NavCloseButton.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/header/NavCloseButton/NavCloseButton.tsx b/src/components/header/NavCloseButton/NavCloseButton.tsx index 43af7a82bd..6beba0e8c6 100644 --- a/src/components/header/NavCloseButton/NavCloseButton.tsx +++ b/src/components/header/NavCloseButton/NavCloseButton.tsx @@ -16,9 +16,8 @@ export const NavCloseButton = ({ onClick={onClick} data-testid="navCloseButton" {...buttonProps} - type="button" - aria-label="Close"> - + type="button"> + ) }