Add missing alt text

This commit is contained in:
Jordan Eldredge 2018-12-02 21:42:19 -08:00
parent a847b51f26
commit 46546dfa84
2 changed files with 2 additions and 0 deletions

View file

@ -137,6 +137,7 @@ class FocusedSkin extends React.Component {
display: "block"
}}
src={Utils.screenshotUrlFromHash(this.props.hash)}
alt={Utils.filenameFromHash(this.props.hash)}
/>
)}
</div>

View file

@ -53,6 +53,7 @@ export default class Skin extends React.Component {
src={this.props.src}
className={`screenshot ${this.state.loaded ? "loaded" : ""}`}
onLoad={this._handleLoad}
alt={Utils.filenameFromHash(this.props.hash)}
/>
</a>
);