misc: improve accessibility
This commit is contained in:
1 parent
d2289fd8a4
commit
11cfd0d9fe
3 files changed
+47
-30
No files matched your search
@@ -37,6 +37,7 @@ ${view == 'list' ? `max-h-24` : 'max-h-48'}`
|
||||
class="text-black dark:text-white absolute z-10 isolate drop-shadow-xl {expanded
|
||||
? 'bottom-6'
|
||||
: 'bottom-16'} left-1/2 -translate-x-1/2"
|
||||
title="Expand"
|
||||
>
|
||||
<Icon
|
||||
src={ChevronDown}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user