diff --git a/.eslintrc.js b/.eslintrc.js index c6291e3d9c77..9b349c25042d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,7 @@ module.exports = { plugins: [ '@typescript-eslint', 'vue', + 'vuejs-accessibility', 'prettier', 'sonarjs', 'security', @@ -29,6 +30,7 @@ module.exports = { extends: [ 'airbnb-base', 'plugin:vue/vue3-recommended', + 'plugin:vuejs-accessibility/recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', diff --git a/app/frontend/apps/desktop/components/CommonInputSearch/CommonInputSearch.vue b/app/frontend/apps/desktop/components/CommonInputSearch/CommonInputSearch.vue index 1c81aeb68137..7437e0028b9f 100644 --- a/app/frontend/apps/desktop/components/CommonInputSearch/CommonInputSearch.vue +++ b/app/frontend/apps/desktop/components/CommonInputSearch/CommonInputSearch.vue @@ -84,6 +84,7 @@ export default { v-model="filter" v-bind="$attrs" :placeholder="i18n.t(placeholder)" + :aria-label="$t('Search…')" class="w-full min-w-16 text-black outline-none dark:text-white" :class="{ 'bg-blue-200 dark:bg-gray-700': !alternativeBackground, diff --git a/app/frontend/apps/desktop/components/CommonProgressBar/CommonProgressBar.vue b/app/frontend/apps/desktop/components/CommonProgressBar/CommonProgressBar.vue index c5c9d22fbff4..0db66d9e1116 100644 --- a/app/frontend/apps/desktop/components/CommonProgressBar/CommonProgressBar.vue +++ b/app/frontend/apps/desktop/components/CommonProgressBar/CommonProgressBar.vue @@ -6,11 +6,17 @@ export interface Props { max?: string } -const props = defineProps() +defineProps()