From 5fbe74fe3073e6e20756bc8a951eb32a7071d5af Mon Sep 17 00:00:00 2001 From: Sander Eikemo Andreassen Date: Thu, 21 Nov 2024 23:34:29 +0100 Subject: [PATCH] fix: fix aria labels and secondary nav vertical separator --- src/components/layout/header/DarkModeMenu.tsx | 11 ++++++++--- src/components/layout/header/DesktopNavMenu.tsx | 2 +- src/components/layout/header/LocaleMenu.tsx | 9 +++++++-- src/components/layout/header/MatrixButton.tsx | 7 +++++-- src/components/layout/header/MobileSheet.tsx | 5 +++-- src/components/layout/header/Nav.tsx | 12 +++++++++--- src/components/layout/header/ProfileMenu.tsx | 9 +++++++-- 7 files changed, 40 insertions(+), 15 deletions(-) diff --git a/src/components/layout/header/DarkModeMenu.tsx b/src/components/layout/header/DarkModeMenu.tsx index 93630ec..57b781b 100644 --- a/src/components/layout/header/DarkModeMenu.tsx +++ b/src/components/layout/header/DarkModeMenu.tsx @@ -25,14 +25,19 @@ function DarkModeMenu({ t }: DarkModeMenuProps) { return ( - diff --git a/src/components/layout/header/DesktopNavMenu.tsx b/src/components/layout/header/DesktopNavMenu.tsx index efcd664..d412944 100644 --- a/src/components/layout/header/DesktopNavMenu.tsx +++ b/src/components/layout/header/DesktopNavMenu.tsx @@ -40,7 +40,7 @@ function DesktopNavMenu({ t }: DesktopNavMenuProps) { size='none' aria-label={open ? t.close : t.open} > - +