From 0f55168f25c161763e657d92774f4bf6f7fd311b Mon Sep 17 00:00:00 2001 From: axolotle Date: Wed, 22 Nov 2023 15:48:25 +0100 Subject: [PATCH] a11y: reset focus on skip links container + add skip link to footer --- layouts/default.vue | 24 +++++++++++++++++------- locales/en.json | 5 ++++- middleware/a11y.global.ts | 2 +- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index d6af26e..d99f6d2 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -5,7 +5,6 @@ const { t } = useI18n() const isLoggedIn = useIsLoggedIn() const settings = await useSettings() const user = await useUser() -const skipLink: Ref = ref(null) const footerLinks = [ { text: t('footerlink_edit'), to: '/edit' }, @@ -39,14 +38,17 @@ async function logout() {