have back button dismiss lightbox on web (#9874)

This commit is contained in:
Spence Pope
2026-02-16 08:39:53 -05:00
committed by GitHub
parent 9b830fd425
commit 6be7751769
3 changed files with 56 additions and 15 deletions
@@ -72,19 +72,7 @@ export function VideoEmbedInnerWeb({
loop={loop}
/>
{embed.alt && (
<figcaption
id={figId}
style={{
position: 'absolute',
width: 1,
height: 1,
padding: 0,
margin: -1,
overflow: 'hidden',
clip: 'rect(0, 0, 0, 0)',
whiteSpace: 'nowrap',
borderWidth: 0,
}}>
<figcaption id={figId} style={a.sr_only}>
{embed.alt}
</figcaption>
)}