www: fix accessibility issues (#1243)

Address accessibility issues pointed out by Lighthouse.
This commit is contained in:
ayame113
2023-06-03 22:19:40 +02:00
committed by GitHub
parent b51f83b42d
commit a724f6c591
8 changed files with 41 additions and 10 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const Slide = (props: SlideProps) => {
class={`${props.class} ${color} h-80 w-full text-center text-black p-5`}
>
{text}
<img src={url} />
<img src={url} alt={text} />
</div>
);
};
+1
View File
@@ -67,6 +67,7 @@ export default function Footer({ children }: Props) {
<a
href="https://github.com/denoland/fresh"
class="inline-block hover:text-black"
aria-label="GitHub"
>
<BrandGithub />
</a>