From a5d70044d4c4bd6739a36e3c1d78bf8523bc8dde Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Thu, 10 Oct 2024 14:55:18 -0500 Subject: [PATCH] fix(toggle): remove presentational checkmark svg from accessibility tree --- packages/react/src/components/Toggle/Toggle.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react/src/components/Toggle/Toggle.tsx b/packages/react/src/components/Toggle/Toggle.tsx index 5b1d80f1e696..e91068eece0f 100644 --- a/packages/react/src/components/Toggle/Toggle.tsx +++ b/packages/react/src/components/Toggle/Toggle.tsx @@ -204,6 +204,8 @@ export function Toggle({
{isSm && (