fix: Add role to a few aside elements

This commit is contained in:
Jesse Wierzbinski 2024-06-05 18:21:30 -10:00
parent ee6fed83d8
commit 5a8e4e5d0f
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -1,6 +1,7 @@
<template> <template>
<aside <aside
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"> 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"
role="complementary">
<NuxtLink href="/"> <NuxtLink href="/">
<img crossorigin="anonymous" class="size-11 rounded ring-1 ring-white/10 hover:scale-105 duration-200" <img crossorigin="anonymous" class="size-11 rounded ring-1 ring-white/10 hover:scale-105 duration-200"
src="/logo.webp" alt="Lysand logo" /> src="/logo.webp" alt="Lysand logo" />