Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixes #5179 - Alt text for homepage img tags
Browse files Browse the repository at this point in the history
  • Loading branch information
punamdahiya committed Nov 14, 2018
1 parent 2a0bd54 commit 28b9cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/src/pages/homepage/homepage-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.HomePageHeader = class HomePageHeader extends React.Component {
myShots = <Localized id="shotIndexPageMyShotsButton" attrs={{title: true}}>
<a className="nav-button icon-shots" title="My Shots" href="/shots"
onClick={ this.onClickMyShots.bind(this) } tabIndex="0">
<img src={this.props.staticLink("/static/img/icon-shots.svg")} />
<img alt="My Shots icon" src={this.props.staticLink("/static/img/icon-shots.svg")} />
</a>
</Localized>;
}
Expand Down
4 changes: 2 additions & 2 deletions server/src/signin-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.SignInButton = class SignInButton extends React.Component {
return <div className="fxa-signin">
<Localized id="buttonSettings" attrs={{title: true}}>
<a className="transparent nav-button icon-settings" tabIndex="0" href="/settings" title="Settings">
<img src={this.props.staticLink("/static/img/icon-settings.svg")} />
<img alt="Settings icon" src={this.props.staticLink("/static/img/icon-settings.svg")} />
</a>
</Localized>
</div>;
Expand All @@ -43,7 +43,7 @@ exports.SignInButton = class SignInButton extends React.Component {
<Localized id="buttonSignIn" attrs={{title: true}}>
<a className="transparent nav-button icon-settings" tabIndex="0" href={logInURI} title="SignIn"
onClick={this.clickHandler.bind(this)}>
<img src={this.props.staticLink("/static/img/icon-settings.svg")} />
<img alt="Settings icon" src={this.props.staticLink("/static/img/icon-settings.svg")} />
</a>
</Localized>
{ fxaOnboardingDialog }
Expand Down

0 comments on commit 28b9cc1

Please sign in to comment.