Skip to content

Commit

Permalink
fix: a11y rule "img-redundant-alt" fails with a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin committed Oct 20, 2024
1 parent ba2dba5 commit da0f44c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AnnouncementCard = ({ title, description, bannerSrc, url, cta = "Learn mor
<div className="w-full">
<AspectRatio.Root ratio={1.85 / 1}>
<picture>
<img src={bannerSrc} className="object-cover w-full h-full" alt={`${title} banner image`} />
<img src={bannerSrc} className="object-cover w-full h-full" alt={`${title} banner`} />
</picture>
</AspectRatio.Root>
</div>
Expand Down

0 comments on commit da0f44c

Please sign in to comment.