Skip to content

Commit

Permalink
fix: Add missing aria-label to top bar
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Aug 14, 2024
1 parent 6bd509c commit 5fa4682
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
-->
<template>
<div
:aria-label="t('forms', 'View mode')"
class="top-bar"
:class="{
'top-bar--has-sidebar': sidebarOpened,
Expand Down Expand Up @@ -60,6 +61,7 @@

<script>
import { mdiEye, mdiPencil, mdiPoll } from '@mdi/js'
import { t } from '@nextcloud/l10n'
import { useIsMobile } from '@nextcloud/vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
Expand Down Expand Up @@ -118,6 +120,8 @@ export default {
setup() {
return {
t,
isMobile: useIsMobile(),
}
},
Expand Down

0 comments on commit 5fa4682

Please sign in to comment.