Fix title tooltip appearing for fullscreen videos (#40127)

This commit is contained in:
diondiondion authored and Claire committed 2026-08-13 14:45:57 +02:00
1 parent 5006064aa5
commit 4eae0d9009
1 file changed
+1 -1
@@ -829,7 +829,7 @@ export const Video: React.FC<{
role='button'
tabIndex={0}
aria-label={alt}
title={alt}
title={fullscreen ? undefined : alt}
lang={lang}
onClick={handleClick}
onKeyDownCapture={handleVideoKeyDown}