mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 08:38:11 -04:00
Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
749a266f78
commit
34396091e8
3 changed files with 13 additions and 6 deletions
8
core/js/dist/unified-search.js
vendored
8
core/js/dist/unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/unified-search.js.map
vendored
2
core/js/dist/unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue