Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2021-04-13 21:00:12 +0300
committerJan C. Borchardt <hey@jancborchardt.net>2021-04-19 22:02:53 +0300
commit34396091e8ffac0beea97a8d3ba6ed4d217eaf58 (patch)
tree95702c7d2dd6210a99e054aabccab7d3e67c5590 /core/src
parent749a266f782bc97445357503ddba63a663184284 (diff)
Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnifiedSearch.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index 45e373ade71..80ba7c7c7b9 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -28,7 +28,10 @@
@close="onClose">
<!-- Header icon -->
<template #trigger>
- <Magnify class="unified-search__trigger" :size="20" fill-color="var(--color-primary-text)" />
+ <Magnify class="unified-search__trigger"
+ :size="20"
+ :title="ariaLabel"
+ fill-color="var(--color-primary-text)" />
</template>
<!-- Search form & filters wrapper -->
@@ -191,6 +194,10 @@ export default {
}, {})
},
+ ariaLabel() {
+ return t('core', 'Search')
+ },
+
/**
* Is there any result to display
* @returns {boolean}