added more alt text
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user