diff --git a/front/client/app.ts b/front/client/app.ts
index 3817f60..a763301 100644
--- a/front/client/app.ts
+++ b/front/client/app.ts
@@ -4,8 +4,10 @@ import Vuex from 'vuex'
import vuetify from 'client/plugins/vuetify'
import { sync } from 'vuex-router-sync'
import confirmDialogMixin from 'client/mixins/confirmDialogMixin'
+import VTooltip from 'v-tooltip'
-import 'client/assets/code-highlight.css'
+import 'client/styles/tooltip.css'
+import 'client/styles/code-highlight.css'
import AppComponent from './App.vue'
import { createRouter } from './router'
@@ -14,6 +16,11 @@ import { createStore } from './store'
function initVue () {
Vue.use(VueRouter)
Vue.use(Vuex)
+ Vue.use(VTooltip, {
+ defaultOffset: 5,
+ defaultDelay: 150,
+ defaultPlacement: 'bottom'
+ })
Vue.mixin(confirmDialogMixin)
}
diff --git a/front/client/components/AddCategoryDialog.vue b/front/client/components/AddCategoryDialog.vue
index fdf9549..bfeee07 100644
--- a/front/client/components/AddCategoryDialog.vue
+++ b/front/client/components/AddCategoryDialog.vue
@@ -43,14 +43,14 @@
Cancel
@@ -57,7 +57,7 @@
Create
diff --git a/front/client/components/Categories.vue b/front/client/components/Categories.vue
index eacaab2..28a76e8 100644
--- a/front/client/components/Categories.vue
+++ b/front/client/components/Categories.vue
@@ -54,7 +54,7 @@
text
class="ma-0 mt-1 px-2"
color="grey darken-2"
- title="Add new category"
+ aria-label="Add new category"
@click="openAddCategoryDialog(groupName)"
>
diff --git a/front/client/components/Category.vue b/front/client/components/Category.vue
index 7dbabbd..51736c6 100644
--- a/front/client/components/Category.vue
+++ b/front/client/components/Category.vue
@@ -37,7 +37,7 @@
text
class="ml-2"
color="grey darken-2"
- title="Add new item"
+ aria-label="Add new item"
@click="openAddItemDialog"
>
$vuetify.icons.plus
diff --git a/front/client/components/CategoryDescription.vue b/front/client/components/CategoryDescription.vue
index 2065791..9901b6e 100644
--- a/front/client/components/CategoryDescription.vue
+++ b/front/client/components/CategoryDescription.vue
@@ -22,7 +22,7 @@
v-if="!isEditDescription"
color="grey darken-2"
class="mt-3"
- :title="descriptionBtnText"
+ :aria-label="descriptionBtnText"
@click="toggleEditDescription"
>
{{ descriptionBtnIcon }}
diff --git a/front/client/components/CategoryHeader.vue b/front/client/components/CategoryHeader.vue
index 419d3f4..491e568 100644
--- a/front/client/components/CategoryHeader.vue
+++ b/front/client/components/CategoryHeader.vue
@@ -1,22 +1,17 @@