Add missing video descriptions (#8416)

* Pass through video description as necessary.

* Add title to video, matching aria-label.
This commit is contained in:
M Somerville 2018-08-24 22:55:41 +01:00 committed by Eugen Rochko
parent 869a3af3c0
commit ac092d03e7
9 changed files with 9 additions and 3 deletions

View file

@ -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}