Skip to content

Commit

Permalink
Accessibility improvement (#669)
Browse files Browse the repository at this point in the history
Summary:
Added `alt`attribute to images, they decorative so it could be empty.

Pull Request resolved: #669

Reviewed By: GijsWeterings

Differential Revision: D29210136

Pulled By: motiz88

fbshipit-source-id: 5636f98df5c03b6ed8efe93e20733fbcf17ac1ec
  • Loading branch information
jcabak authored and facebook-github-bot committed Jun 24, 2021
1 parent a400deb commit 47fe403
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/src/pages/index.js
Expand Up @@ -95,7 +95,11 @@ const Index = () => {
styles.blockContainer,
'padding-horiz--md',
)}>
<img src={image} className={classnames(styles.blockImage)} />
<img
src={image}
className={classnames(styles.blockImage)}
alt=""
/>
<h2>{title}</h2>
<p>{content}</p>
</div>
Expand Down

0 comments on commit 47fe403

Please sign in to comment.