File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/components/global/Playground Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -591,12 +591,12 @@ export default function Playground({
591591 */ }
592592 { devicePreview
593593 ? [
594- < div className = { ! isIOS ? 'frame-hidden' : 'frame-visible' } >
594+ < div className = { ! isIOS ? 'frame-hidden' : 'frame-visible' } aria-hidden = { ! isIOS ? 'true' : null } >
595595 < device-preview mode = "ios" >
596596 < iframe height = { frameSize } ref = { ( ref ) => handleFrameRef ( ref , 'ios' ) } src = { sourceiOS } > </ iframe >
597597 </ device-preview >
598598 </ div > ,
599- < div className = { ! isMD ? 'frame-hidden' : 'frame-visible' } >
599+ < div className = { ! isMD ? 'frame-hidden' : 'frame-visible' } aria-hidden = { ! isMD ? 'true' : null } >
600600 < device-preview mode = "md" >
601601 < iframe height = { frameSize } ref = { ( ref ) => handleFrameRef ( ref , 'md' ) } src = { sourceMD } > </ iframe >
602602 </ device-preview >
@@ -608,12 +608,14 @@ export default function Playground({
608608 className = { ! isIOS ? 'frame-hidden' : '' }
609609 ref = { ( ref ) => handleFrameRef ( ref , 'ios' ) }
610610 src = { sourceiOS }
611+ aria-hidden = { ! isIOS ? 'true' : null }
611612 > </ iframe > ,
612613 < iframe
613614 height = { frameSize }
614615 className = { ! isMD ? 'frame-hidden' : '' }
615616 ref = { ( ref ) => handleFrameRef ( ref , 'md' ) }
616617 src = { sourceMD }
618+ aria-hidden = { ! isMD ? 'true' : null }
617619 > </ iframe > ,
618620 ] }
619621 </ div > ,
You can’t perform that action at this time.
0 commit comments