Hide avatars from screen readers by default

To avoid having them read out the user's ID
This commit is contained in:
Travis Ralston 2019-05-17 15:25:59 -06:00
parent 47add75278
commit f1aa2875e1

View file

@ -189,7 +189,7 @@ module.exports = React.createClass({
const imgNode = (
<img className="mx_BaseAvatar_image" src={imageUrl}
alt="" title={title} onError={this.onError}
width={width} height={height} />
width={width} height={height} aria-hidden="true" />
);
if (onClick != null) {
return (