Skip to content

Commit 37438ad

Browse files
committed
Add card image alt text.
1 parent 081fe45 commit 37438ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/card/card.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const { title, subtitle, url, image } = Astro.props;
2222
src={image}
2323
width={600}
2424
height={375}
25-
alt=""
25+
alt=`Card image - ${title}`
2626
class="not-prose rounded-xl aspect-[3/2] w-full"
2727
loading="lazy"
2828
/>

0 commit comments

Comments
 (0)