diff --git a/src/FocusedSkin.js b/src/FocusedSkin.js index b9c3685c..fb454d1b 100644 --- a/src/FocusedSkin.js +++ b/src/FocusedSkin.js @@ -137,6 +137,7 @@ class FocusedSkin extends React.Component { display: "block" }} src={Utils.screenshotUrlFromHash(this.props.hash)} + alt={Utils.filenameFromHash(this.props.hash)} /> )} diff --git a/src/Skin.js b/src/Skin.js index a5ba1d04..7fad48a9 100644 --- a/src/Skin.js +++ b/src/Skin.js @@ -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)} /> );