mirror of https://github.com/vector-im/riot-web
Hide avatars from screen readers by default
To avoid having them read out the user's IDpull/21833/head
parent
47add75278
commit
f1aa2875e1
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue