feat: Improve mobile menu accessibility with inert attribute and enhance skip link styling and focus behavior.

This commit is contained in:
2026-02-22 13:05:36 +01:00
parent 4b2638caed
commit d76fadd6e8
2 changed files with 2 additions and 1 deletions

View File

@@ -293,6 +293,7 @@ export default function Header() {
aria-modal="true"
aria-label={t('menu')}
ref={mobileMenuRef}
inert={isMobileMenuOpen ? undefined : true}
>
<nav className="flex-grow flex flex-col justify-center items-center p-8 space-y-8">
{menuItems.map((item, idx) => (