Skip to content

Commit 73cf154

Browse files
committed
use caption as img alt tag
1 parent 2709ffc commit 73cf154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ChartImage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function ChartImage({ imgName, caption }) {
5050
<>
5151
<div className="chartImageContainer">
5252
<Img
53-
alt={imgName}
53+
alt={caption}
5454
fluid={image.node.childImageSharp.fluid}
5555
className="chartImageImg"
5656
/>

0 commit comments

Comments
 (0)