Remove alt, use aria-label

This commit is contained in:
Andrew Morgan 2020-06-26 01:18:02 +01:00
parent 87f961df3f
commit b00d822bc0
5 changed files with 6 additions and 8 deletions

View file

@ -26,7 +26,6 @@ export default createReactClass({
const w = this.props.w || 16;
const h = this.props.h || 16;
const imgClass = this.props.imgClassName || "";
const alt = this.props.alt || _t("Loading...");
let divClass;
let imageSource;
@ -45,7 +44,7 @@ export default createReactClass({
width={w}
height={h}
className={imgClass}
alt={alt}
aria-label={_t("Loading...")}
/>
</div>
);