diff --git a/src/components/Menu/MenuItem.tsx b/src/components/Menu/MenuItem.tsx index 4856308b938..eee56867837 100644 --- a/src/components/Menu/MenuItem.tsx +++ b/src/components/Menu/MenuItem.tsx @@ -60,6 +60,9 @@ export function MenuItem({ // Close the menu after clicking a link (applies to the mobile menu) toggleMenuOpen(false); } + + const mainContent = document.getElementById('pageMain'); + mainContent?.focus(); }; const handleFocus = () => {