From 340f39710e81a22252375f4c30a7f56ae123ccf8 Mon Sep 17 00:00:00 2001 From: Firq Date: Mon, 1 Jan 2024 20:54:14 +0100 Subject: [PATCH] updated aria roles --- src/components/navbar.astro | 4 ++-- src/components/navbarEntry.astro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/navbar.astro b/src/components/navbar.astro index 7d1bdd1..3266ad5 100644 --- a/src/components/navbar.astro +++ b/src/components/navbar.astro @@ -13,12 +13,12 @@ const hamburger_src_url = `url("${hamburger.src}")`; - diff --git a/src/components/navbarEntry.astro b/src/components/navbarEntry.astro index 8322b66..715a4dc 100644 --- a/src/components/navbarEntry.astro +++ b/src/components/navbarEntry.astro @@ -30,7 +30,7 @@ let extraattributes = navtype === "mobile" ? { tabindex: "0"} : {} rel="noopener noreferrer" aria-label={text} class={currPage} - role="menuitem" + role="navigation" {...extraattributes} >