Skip to content

Commit 5a8e4e5

Browse files
committed
fix: ♿ Add role to a few aside elements
1 parent ee6fed8 commit 5a8e4e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/sidebars/collapsible-aside.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<aside v-bind="$props"
2+
<aside v-bind="$props" role="complementary"
33
:class="['flex max-h-dvh overflow-hidden duration-200', open ? enterClass : leaveClass, direction === 'left' ? 'flex-row' : 'flex-row-reverse']">
44
<OverlayScrollbarsComponent :defer="true"
55
class="bg-dark-900 ring-1 ring-white/10 h-full overflow-y-auto w-full">

components/sidebars/navigation.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<aside
3-
class="fixed h-dvh z-20 md:flex hidden flex-col p-4 bg-dark-800 gap-10 max-w-20 hover:max-w-72 duration-200 group ring-1 ring-dark-500">
3+
class="fixed h-dvh z-20 md:flex hidden flex-col p-4 bg-dark-800 gap-10 max-w-20 hover:max-w-72 duration-200 group ring-1 ring-dark-500"
4+
role="complementary">
45
<NuxtLink href="/">
56
<img crossorigin="anonymous" class="size-11 rounded ring-1 ring-white/10 hover:scale-105 duration-200"
67
src="/logo.webp" alt="Lysand logo" />

0 commit comments

Comments
 (0)