diff --git a/assets/js/mobile.js b/assets/js/mobile.js index e0e5176..bf21331 100644 --- a/assets/js/mobile.js +++ b/assets/js/mobile.js @@ -45,4 +45,8 @@ }); }); + // Move focus back to button efter user tab out of last link. + const lastlink = [].slice.call(links).pop(); + lastlink.addEventListener('blur', () => toggle.focus()); + })();