Set title attribute on images in lightbox

Part of https://github.com/vector-im/riot-web/issues/9324
pull/21833/head
Travis Ralston 2019-03-29 14:55:56 -06:00
parent 45e4948d9a
commit 9c502fda95
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ module.exports = React.createClass({
<div className="mx_ImageView_lhs">
</div>
<div className="mx_ImageView_content">
<img src={this.props.src} style={style} />
<img src={this.props.src} title={this.props.name} style={style} />
<div className="mx_ImageView_labelWrapper">
<div className="mx_ImageView_label">
<AccessibleButton className="mx_ImageView_cancel" onClick={ this.props.onFinished }><img src={require("../../../../res/img/cancel-white.svg")} width="18" height="18" alt={ _t('Close') } /></AccessibleButton>