Skip to content

Commit

Permalink
remove non-functional aria labels, see #436
Browse files Browse the repository at this point in the history
  • Loading branch information
mkernohanbc committed Jul 29, 2024
1 parent 1caae01 commit 4eedc28
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export interface InlineAlertProps extends React.PropsWithChildren {
function getIcon(variant: string) {
switch (variant) {
case "info":
return <SvgInfoIcon aria-hidden="true" />;
return <SvgInfoIcon />;
case "success":
return <SvgCheckCircleIcon aria-hidden="true" />;
return <SvgCheckCircleIcon />;
case "warning":
return <SvgExclamationIcon aria-hidden="true" />;
return <SvgExclamationIcon />;
case "danger":
return <SvgExclamationCircleIcon aria-hidden="true" />;
return <SvgExclamationCircleIcon />;
default:
return;
}
Expand Down

0 comments on commit 4eedc28

Please sign in to comment.