diff --git a/app/app.vue b/app/app.vue index 2b0a58740..f1edafa6e 100644 --- a/app/app.vue +++ b/app/app.vue @@ -142,11 +142,12 @@ if (import.meta.client) { .skip-link { position: fixed; top: -100%; + left: 0.25rem; z-index: 100; } .skip-link:focus { - top: 0; + top: 0.25rem; } diff --git a/app/assets/main.css b/app/assets/main.css index dbf096b22..6e8517b98 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -222,13 +222,8 @@ body { line-height: 1.6; } -:focus-visible, :-moz-focusring { - /* weird Firefox behavior makes it necessary to add `!important` - or otherwise the selector would need to be more specific, - which it explicitly should not be. */ - outline: 2px solid var(--accent) !important; - outline-offset: 2px !important; + outline: auto; } /* Reset dd margin (browser default is margin-left: 40px) */ diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue index cf7961ecb..6098ab03c 100644 --- a/app/components/AppFooter.vue +++ b/app/components/AppFooter.vue @@ -25,7 +25,7 @@ const showModal = () => modalRef.value?.showModal?.()