a11y: improve accessibility

This commit is contained in:
Xyphyn committed 2023-07-29 19:59:55 -07:00
1 parent 5847a507fd
commit e1ac96def3
4 files changed
+5 -3

No files matched your search

@@ -7,12 +7,12 @@
</script>
<a href={url} class="self-start relative group" class:blur-3xl={nsfw}>
<!-- svelte-ignore a11y-missing-attribute -->
<img
src={thumbnail_url}
class="rounded-md w-[500px] aspect-video object-cover bg-slate-200 dark:bg-zinc-800"
width={600}
height={400}
alt=""
/>
<span
class="w-full px-4 py-1.5 overflow-hidden whitespace-nowrap text-ellipsis