File tree 1 file changed +4
-2
lines changed
src/components/global/Playground
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({
591
591
*/ }
592
592
{ devicePreview
593
593
? [
594
- < div className = { ! isIOS ? 'frame-hidden' : 'frame-visible' } >
594
+ < div className = { ! isIOS ? 'frame-hidden' : 'frame-visible' } aria-hidden = { ! isIOS ? 'true' : null } >
595
595
< device-preview mode = "ios" >
596
596
< iframe height = { frameSize } ref = { ( ref ) => handleFrameRef ( ref , 'ios' ) } src = { sourceiOS } > </ iframe >
597
597
</ device-preview >
598
598
</ div > ,
599
- < div className = { ! isMD ? 'frame-hidden' : 'frame-visible' } >
599
+ < div className = { ! isMD ? 'frame-hidden' : 'frame-visible' } aria-hidden = { ! isMD ? 'true' : null } >
600
600
< device-preview mode = "md" >
601
601
< iframe height = { frameSize } ref = { ( ref ) => handleFrameRef ( ref , 'md' ) } src = { sourceMD } > </ iframe >
602
602
</ device-preview >
@@ -608,12 +608,14 @@ export default function Playground({
608
608
className = { ! isIOS ? 'frame-hidden' : '' }
609
609
ref = { ( ref ) => handleFrameRef ( ref , 'ios' ) }
610
610
src = { sourceiOS }
611
+ aria-hidden = { ! isIOS ? 'true' : null }
611
612
> </ iframe > ,
612
613
< iframe
613
614
height = { frameSize }
614
615
className = { ! isMD ? 'frame-hidden' : '' }
615
616
ref = { ( ref ) => handleFrameRef ( ref , 'md' ) }
616
617
src = { sourceMD }
618
+ aria-hidden = { ! isMD ? 'true' : null }
617
619
> </ iframe > ,
618
620
] }
619
621
</ div > ,
You can’t perform that action at this time.
0 commit comments