diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-30 22:12:00 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-31 10:24:05 +0200 |
commit | 3ad4e82195756e25ba3af3072f30ddbea0881759 (patch) | |
tree | bcf7552e939b15be8b8b0a39ff0ff5226f75d5e4 /core/src | |
parent | 09d8214e37183dc9347562d432e96761faf405f6 (diff) | |
download | nextcloud-server-3ad4e82195756e25ba3af3072f30ddbea0881759.tar.gz nextcloud-server-3ad4e82195756e25ba3af3072f30ddbea0881759.zip |
Address some more accessibility concerns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/components/AppMenu.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue index 1b2e45e2c0b..2419a2f3b50 100644 --- a/core/src/components/AppMenu.vue +++ b/core/src/components/AppMenu.vue @@ -27,7 +27,10 @@ :data-app-id="app.id" class="app-menu-entry" :class="{ 'app-menu-entry__active': app.active }"> - <a :href="app.href" :class="{ 'has-unread': app.unread > 0 }" :aria-label="appLabel(app)"> + <a :href="app.href" + :class="{ 'has-unread': app.unread > 0 }" + :aria-label="appLabel(app)" + :aria-current="app.active ? 'page' : false"> <img :src="app.icon" alt=""> <div class="app-menu-entry--label"> {{ app.name }} @@ -40,6 +43,7 @@ <NcActionLink v-for="app in popoverAppList" :key="app.id" :aria-label="appLabel(app)" + :aria-current="app.active ? 'page' : false" :href="app.href" class="app-menu-popover-entry"> <template #icon> |