From 41ab1eeebca8f7deb4d0237b1048f52005ece7a4 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 2 Mar 2023 09:00:59 -0500 Subject: [PATCH] fix(playground): hidden iframes are hidden from screen readers --- src/components/global/Playground/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/global/Playground/index.tsx b/src/components/global/Playground/index.tsx index 781b65e0bdb..209a0369971 100644 --- a/src/components/global/Playground/index.tsx +++ b/src/components/global/Playground/index.tsx @@ -591,12 +591,12 @@ export default function Playground({ */} {devicePreview ? [ -
+
, -
+
@@ -608,12 +608,14 @@ export default function Playground({ className={!isIOS ? 'frame-hidden' : ''} ref={(ref) => handleFrameRef(ref, 'ios')} src={sourceiOS} + aria-hidden={!isIOS ? 'true' : null} >, , ]}
,