refactor: add missing navigation aria sections

This commit is contained in:
Stefan Imhoff
2023-05-23 14:04:19 +02:00
parent 11c497c6bd
commit 32d27a5bf2
5 changed files with 83 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ import { Link } from '.';
const currentPath = new URL(Astro.request.url).pathname;
---
<div class="glow flex gap-12">
<nav class="glow flex gap-12" aria-label="Subnavigation">
<ul>
{
data.main.map(({ title, url }) => (
@@ -42,4 +42,4 @@ const currentPath = new URL(Astro.request.url).pathname;
))
}
</ul>
</div>
</nav>