diff options
author | M Somerville <dracos@users.noreply.github.com> | 2018-08-24 22:55:41 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-24 23:55:41 +0200 |
commit | ac092d03e7a781d27aff9cb9ea4637be9c5f2a2a (patch) | |
tree | c14be2cc463dc68917a965ecd267922cb35aed1f /app/javascript/mastodon/components/media_gallery.js | |
parent | 869a3af3c0a5b441c09ddd028247cc8f2c4fa4df (diff) |
Add missing video descriptions (#8416)
* Pass through video description as necessary. * Add title to video, matching aria-label.
Diffstat (limited to 'app/javascript/mastodon/components/media_gallery.js')
-rw-r--r-- | app/javascript/mastodon/components/media_gallery.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index 63bc4a59b..6e1310cd6 100644 --- a/app/javascript/mastodon/components/media_gallery.js +++ b/app/javascript/mastodon/components/media_gallery.js @@ -154,6 +154,7 @@ class Item extends React.PureComponent { <video className='media-gallery__item-gifv-thumbnail' aria-label={attachment.get('description')} + title={attachment.get('description')} role='application' src={attachment.get('url')} onClick={this.handleClick} |