added more alt text

This commit is contained in:
2025-08-18 20:13:07 +02:00
parent 4b095e80c0
commit aeade6e167
3 changed files with 7 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
<li>
<a href={entry.link}>
{#if entry.icon}
<img height="24px" src={entry.icon}>
<img height="24px" src={entry.icon} alt="Icon">
{/if}
{@html entry.text}
</a>

View File

@@ -4,6 +4,7 @@
subtitle: string;
fullWidth: boolean;
img: string;
imgAlt: string;
link: string;
}
@@ -30,7 +31,7 @@
{#snippet galleryEntry({entry}: {entry: GalleryEntry})}
<a class="entry" href="{entry.link}">
<img src="{entry.img}">
<img src="{entry.img}" alt="{entry.imgAlt}">
<p class="wide-font">{entry.title}</p>
<p>{@html entry.subtitle}</p>
</a>