Skip to content
Snippets Groups Projects
Commit 351a522d authored by Henrik Askjer's avatar Henrik Askjer
Browse files

add aria-labelledby

parent 2b29a856
No related branches found
No related tags found
No related merge requests found
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
<v-toolbar-items> <v-toolbar-items>
<v-divider vertical/> <v-divider vertical/>
<v-btn text @click="toggleAbout" v-if="$route.name == 'about'"><v-icon left>chevron_left</v-icon>{{$t("back")}}</v-btn> <v-btn text @click="toggleAbout" v-if="$route.name == 'about'"><v-icon left>chevron_left</v-icon>{{$t("back")}}</v-btn>
<v-dialog v-if="$route.name != 'about'" max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile" <v-dialog aria-labelledby="menu_label" v-if="$route.name != 'about'" max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile"
:close-on-content-click="false" transition="dialog-top-transition"> :close-on-content-click="false" transition="dialog-top-transition">
<template v-slot:activator="{ on, attrs }"> <template v-slot:activator="{ on, attrs }">
<v-btn text v-bind="attrs" v-on="on"> <v-btn aria-labelledby="menu_label" text v-bind="attrs" v-on="on">
<span>{{$t('menu.title')}}</span><v-icon right>menu</v-icon></v-btn> <span id="menu_label">{{$t('menu.title')}}</span><v-icon right>menu</v-icon></v-btn>
</template> </template>
<Menu @close="menuDialog=false"/> <Menu @close="menuDialog=false"/>
</v-dialog> </v-dialog>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment