misc: improve accessibility
This commit is contained in:
1 parent
9a8b0e277b
commit
dff48fa213
2 files changed
+2
No files matched your search
@@ -80,6 +80,7 @@
|
||||
href="/post/{getInstance()}/{post.post.id}"
|
||||
class="self-start overflow-hidden z-10 relative bg-slate-200 dark:bg-zinc-800 rounded-md"
|
||||
data-sveltekit-preload-data="off"
|
||||
aria-label={post.post.name}
|
||||
>
|
||||
<picture
|
||||
class="rounded-md overflow-hidden max-h-[min(50vh,500px)] w-full max-w-full"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
on:click={() =>
|
||||
($userSettings.expandSidebar = !$userSettings.expandSidebar)}
|
||||
class="w-max !p-2 hover:bg-slate-200"
|
||||
aria-label="Collapse sidebar"
|
||||
>
|
||||
<Icon
|
||||
src={ChevronDoubleLeft}
|
||||
|
||||
Reference in new issue
Block a user