mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-30 14:01:42 +01:00
Remove system tooltip for alt text in web UI (#33736)
This commit is contained in:
parent
81271a18c5
commit
956873362e
@ -145,7 +145,6 @@ class Item extends PureComponent {
|
||||
srcSet={srcSet}
|
||||
sizes={sizes}
|
||||
alt={description}
|
||||
title={description}
|
||||
lang={lang}
|
||||
style={{ objectPosition: `${x}% ${y}%` }}
|
||||
onLoad={this.handleImageLoad}
|
||||
@ -167,7 +166,6 @@ class Item extends PureComponent {
|
||||
<video
|
||||
className='media-gallery__item-gifv-thumbnail'
|
||||
aria-label={description}
|
||||
title={description}
|
||||
lang={lang}
|
||||
role='application'
|
||||
src={attachment.get('url')}
|
||||
|
@ -93,7 +93,6 @@ export const MediaItem: React.FC<{
|
||||
<img
|
||||
src={previewUrl || avatarUrl}
|
||||
alt={description}
|
||||
title={description}
|
||||
lang={lang}
|
||||
onLoad={handleImageLoad}
|
||||
/>
|
||||
@ -113,7 +112,6 @@ export const MediaItem: React.FC<{
|
||||
<img
|
||||
src={previewUrl}
|
||||
alt={description}
|
||||
title={description}
|
||||
lang={lang}
|
||||
style={{ objectPosition: `${x}% ${y}%` }}
|
||||
onLoad={handleImageLoad}
|
||||
@ -131,7 +129,6 @@ export const MediaItem: React.FC<{
|
||||
<video
|
||||
className='media-gallery__item-gifv-thumbnail'
|
||||
aria-label={description}
|
||||
title={description}
|
||||
lang={lang}
|
||||
src={fullUrl}
|
||||
onMouseEnter={handleMouseEnter}
|
||||
|
Loading…
x
Reference in New Issue
Block a user