From 630c5f14146b5c06be65cf0ea2ee877f0ba84891 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 2 Mar 2023 10:22:23 -0500 Subject: [PATCH] fix(playground): hidden iframes are hidden from screen readers (#2802) --- 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} >, , ]}
,