diff options
author | Bramus! <bramus@bram.us> | 2022-12-15 18:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 18:37:47 +0100 |
commit | 7fbc17afa246c5cd384123ace51e07622204b67c (patch) | |
tree | d307cdb8952b62380cf9b241c7726e5e9731f9e1 /app | |
parent | 99d26930719bb032860f6dd125116d84b93a3d0c (diff) |
Fix media markup (#21420)
This brings the markup of the MediaItem component on par with the Item component from media_gallery. Co-authored-by: Effy Elden <effy@effy.space>
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/account_gallery/components/media_item.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/account_gallery/components/media_item.js b/app/javascript/mastodon/features/account_gallery/components/media_item.js index f16fe07f1..13fd7fe03 100644 --- a/app/javascript/mastodon/features/account_gallery/components/media_item.js +++ b/app/javascript/mastodon/features/account_gallery/components/media_item.js @@ -104,6 +104,7 @@ export default class MediaItem extends ImmutablePureComponent { <video className='media-gallery__item-gifv-thumbnail' aria-label={attachment.get('description')} + title={attachment.get('description')} role='application' src={attachment.get('url')} onMouseEnter={this.handleMouseEnter} |