Remove alt, use aria-label
This commit is contained in:
parent
87f961df3f
commit
b00d822bc0
5 changed files with 6 additions and 8 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue