Skip to content

Commit

Permalink
fix (a11y): aria-hide checkmark svg
Browse files Browse the repository at this point in the history
  • Loading branch information
noa.santo committed Sep 19, 2024
1 parent fd281f5 commit 41ebe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const StyledCheckbox = styled.input.attrs({
}
`;

const StyledIcon = styled(Icon)`
const StyledIcon = styled(Icon).attrs({ ariaHidden: true })`
position: absolute;
pointer-events: none;
`;
Expand Down

0 comments on commit 41ebe00

Please sign in to comment.