a11y: improve accessibility
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user