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

@ -366,7 +366,7 @@ export default class MImageBody extends React.Component {
// e2e image hasn't been decrypted yet
if (content.file !== undefined && this.state.decryptedUrl === null) {
placeholder = <InlineSpinner alt={content.body} w={32} h={32} />;
placeholder = <InlineSpinner w={32} h={32} />;
} else if (!this.state.imgLoaded) {
// Deliberately, getSpinner is left unimplemented here, MStickerBody overides
placeholder = this.getPlaceholder();