summaryrefslogtreecommitdiffstats
path: root/apps/user_status/src/UserStatus.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-05-16 22:24:30 +0200
committerGitHub <noreply@github.com>2022-05-16 22:24:30 +0200
commitab0548e4edb1d2cf47718f752272d68aa6be07e2 (patch)
tree209f8884e44496621689529302cf82326b6fc225 /apps/user_status/src/UserStatus.vue
parent07f17d01cc670c69090f1cd8becde18cbbfcdf0f (diff)
parentc1499519d4a57859fa69098a743430a2dc068800 (diff)
downloadnextcloud-server-ab0548e4edb1d2cf47718f752272d68aa6be07e2.tar.gz
nextcloud-server-ab0548e4edb1d2cf47718f752272d68aa6be07e2.zip
Merge pull request #31584 from nextcloud/fix/accessibility
Diffstat (limited to 'apps/user_status/src/UserStatus.vue')
-rw-r--r--apps/user_status/src/UserStatus.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/user_status/src/UserStatus.vue b/apps/user_status/src/UserStatus.vue
index 8baf31de1b7..644ff97d689 100644
--- a/apps/user_status/src/UserStatus.vue
+++ b/apps/user_status/src/UserStatus.vue
@@ -231,6 +231,11 @@ export default {
align-items: flex-start !important;
color: var(--color-main-text) !important;
+ &:focus-visible {
+ padding: 6px 8px 1px 8px !important;
+ margin: 2px !important;
+ }
+
&:not([href]) {
height: var(--header-menu-item-height) !important;
color: var(--color-text-maxcontrast) !important;
@@ -298,7 +303,7 @@ export default {
background-color: var(--color-background-hover);
}
&:focus {
- border: 2px solid var(--color-main-text)!important;
+ box-shadow: 0 0 0 2px var(--color-main-text) !important;
}
}
}