Skip to content

Commit

Permalink
refactor: add meaninful img alt value
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 22, 2021
1 parent f7ad1b2 commit f280a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageSlider/ImageSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const ImageSlider = ({ images, height }) => {
>
<img
src={item}
alt="placeholder-text"
alt={`Image ${item.split('/').slice(-1)}`}
css={css`
height: ${height}px;
width: 100%;
Expand Down

0 comments on commit f280a1a

Please sign in to comment.