mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 17:31:12 +00:00
remove redundant title
text from media modal images in web UI (#35468)
This commit is contained in:
parent
8a1c43bf3b
commit
8baed8b90e
|
@ -37,7 +37,6 @@ export const GIFV = forwardRef<HTMLVideoElement, Props>(
|
|||
role='button'
|
||||
tabIndex={0}
|
||||
aria-label={alt}
|
||||
title={alt}
|
||||
lang={lang}
|
||||
onClick={handleClick}
|
||||
/>
|
||||
|
@ -49,7 +48,6 @@ export const GIFV = forwardRef<HTMLVideoElement, Props>(
|
|||
role='button'
|
||||
tabIndex={0}
|
||||
aria-label={alt}
|
||||
title={alt}
|
||||
lang={lang}
|
||||
width={width}
|
||||
height={height}
|
||||
|
|
|
@ -306,10 +306,8 @@ export const ZoomableImage: React.FC<ZoomableImageProps> = ({
|
|||
|
||||
<animated.img
|
||||
style={{ transform }}
|
||||
role='presentation'
|
||||
ref={imageRef}
|
||||
alt={alt}
|
||||
title={alt}
|
||||
lang={lang}
|
||||
src={src}
|
||||
width={width}
|
||||
|
|
Loading…
Reference in New Issue
Block a user