From 618691cbce7932e1ca4e79873b7b5b3550dc51a9 Mon Sep 17 00:00:00 2001 From: Helianthella Date: Fri, 25 Dec 2020 22:37:30 -0500 Subject: further improve accessibility --- src/components/Navigation.vue | 2 +- src/components/ServerStatus.vue | 17 ++++++++++++++--- src/views/NewsArchive.vue | 2 +- src/views/NotFound.vue | 13 +++++++++++++ 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index 3ced42e..4fec0ff 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -93,7 +93,7 @@ border: solid 1px #CBA083; padding: 1ch; - &:hover, &.router-link-exact-active, &.custom-active { + &:is(:hover, :focus), &.router-link-exact-active, &.custom-active { background-color: rgba(255,255,255,0.4); border: solid 1px #2f2e32; } diff --git a/src/components/ServerStatus.vue b/src/components/ServerStatus.vue index d9d23b2..dd4eaa7 100644 --- a/src/components/ServerStatus.vue +++ b/src/components/ServerStatus.vue @@ -9,13 +9,24 @@ diff --git a/src/views/NewsArchive.vue b/src/views/NewsArchive.vue index c00810a..b673fc8 100644 --- a/src/views/NewsArchive.vue +++ b/src/views/NewsArchive.vue @@ -24,7 +24,7 @@ border-radius: 30%; opacity: .6; - &:hover { + &:is(:hover, :focus) { background: orange; color: #fff; opacity: 1; diff --git a/src/views/NotFound.vue b/src/views/NotFound.vue index 35b9753..5dab5d0 100644 --- a/src/views/NotFound.vue +++ b/src/views/NotFound.vue @@ -2,5 +2,18 @@

Page not found

This page does not exist or has been removed.

+

back to home page

+ + -- cgit v1.2.3-60-g2f50