Skip to content

Commit

Permalink
Merge pull request #8 from bell-steven/patch-2
Browse files Browse the repository at this point in the history
add alt to img tag for a11y accessibility
  • Loading branch information
Cédric Delpoux committed Nov 14, 2017
2 parents c9bee37 + 8655ea1 commit 121ddc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class MyWrapper extends Component {
<ResponsiveMasonry columnsCountBreakPoints={{350: 1, 750: 2, 900: 3}}>
<Masonry>
{images.map((image, i) =>
<img key={i} src={image} style={{width: "100%", display: "block"}} />
<img key={i} src={image} style={{width: "100%", display: "block"}} alt="" />
)}
</Masonry>
</ResponsiveMasonry>
Expand Down

0 comments on commit 121ddc5

Please sign in to comment.