Hide avatars from screen readers by default

To avoid having them read out the user's ID
pull/21833/head
Travis Ralston 2019-05-17 15:25:59 -06:00
parent 47add75278
commit f1aa2875e1
1 changed files with 1 additions and 1 deletions

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 (