aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-09-14 17:33:12 -0700
committerChristopher Ng <chrng8@gmail.com>2023-09-27 17:39:38 -0700
commiteacde866934955d11a79983cb12e45a00b62dd51 (patch)
treed465373dba7144c10e6ff2108bc3ee2406e1dcda /apps/files_sharing
parentc2e4a7be920af69ece4a68e9a410155a718355db (diff)
downloadnextcloud-server-eacde866934955d11a79983cb12e45a00b62dd51.tar.gz
nextcloud-server-eacde866934955d11a79983cb12e45a00b62dd51.zip
enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/src/views/SharingDetailsTab.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue
index 199d413d7f8..e892ca472d8 100644
--- a/apps/files_sharing/src/views/SharingDetailsTab.vue
+++ b/apps/files_sharing/src/views/SharingDetailsTab.vue
@@ -136,7 +136,10 @@
{{ t('file_sharing', 'Note to recipient') }}
</NcCheckboxRadioSwitch>
<template v-if="writeNoteToRecipientIsChecked">
- <textarea :value="share.note" @input="share.note = $event.target.value" />
+ <label for="share-note-textarea">
+ {{ t('files_sharing', 'Enter a note for the share recipient') }}
+ </label>
+ <textarea id="share-note-textarea" :value="share.note" @input="share.note = $event.target.value" />
</template>
<NcCheckboxRadioSwitch :checked.sync="setCustomPermissions">
{{ t('file_sharing', 'Custom permissions') }}