fix(a11y): Add empty alt-tag

This is for telling a screen reader that this image is purely decorative

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-03-02 18:46:05 +01:00
parent b66022297f
commit ce6dcf24f9
No known key found for this signature in database
GPG Key ID: E59C7734F0E10EB5
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export default function SeriesCard(props: { serie: SearchResult; origin: string
<div className="mx-auto h-full w-full space-y-2"> <div className="mx-auto h-full w-full space-y-2">
<h2 className="text-xl">{props.serie.title}</h2> <h2 className="text-xl">{props.serie.title}</h2>
<p className="text-md">{props.serie.description}</p> <p className="text-md">{props.serie.description}</p>
<img src={image.uri} width={image.width} /> <img src={image.uri} width={image.width} alt="" />
<code className="font-mono bg-black text-white select-all p-2">{feedUrl.toString()}</code> <code className="font-mono bg-black text-white select-all p-2">{feedUrl.toString()}</code>
<CopyButton text={feedUrl.toString()}> <CopyButton text={feedUrl.toString()}>
Kopier URL Kopier URL