diff options
author | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-13 20:00:12 +0200 |
---|---|---|
committer | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-19 21:02:53 +0200 |
commit | 34396091e8ffac0beea97a8d3ba6ed4d217eaf58 (patch) | |
tree | 95702c7d2dd6210a99e054aabccab7d3e67c5590 /core/src | |
parent | 749a266f782bc97445357503ddba63a663184284 (diff) | |
download | nextcloud-server-34396091e8ffac0beea97a8d3ba6ed4d217eaf58.tar.gz nextcloud-server-34396091e8ffac0beea97a8d3ba6ed4d217eaf58.zip |
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.vue | 9 |
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} |