Skip to content

Commit

Permalink
fix(toggle): remove presentational checkmark svg from accessibility t…
Browse files Browse the repository at this point in the history
…ree (#17719)
  • Loading branch information
tay1orjones authored Oct 14, 2024
1 parent 6078fe1 commit 797fe0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/components/Toggle/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ export function Toggle({
<div className={switchClasses}>
{isSm && (
<svg
aria-hidden="true"
focusable="false"
className={`${prefix}--toggle__check`}
width="6px"
height="5px"
Expand Down

0 comments on commit 797fe0f

Please sign in to comment.