misc: improve accessibility

This commit is contained in:
Xylight committed 2024-02-24 10:52:05 -08:00
1 parent d2289fd8a4
commit 11cfd0d9fe
3 files changed
+47 -30

No files matched your search

@@ -47,7 +47,7 @@
class="w-full h-full object-cover bg-slate-200 dark:bg-zinc-800"
width={600}
height={400}
alt=""
alt={embed_title}
class:blur-3xl={nsfw}
/>
</a>
@@ -62,7 +62,7 @@
class="rounded-md max-w-[300px] w-full h-auto aspect-video object-cover bg-slate-200 dark:bg-zinc-800"
width={600}
height={400}
alt=""
alt={embed_title ?? 'Embed prevented alt text'}
class:blur-3xl={nsfw}
/>
</a>