Skip to content

Commit

Permalink
Merge pull request #40430 from nextcloud/enh/a11y/share-note-label
Browse files Browse the repository at this point in the history
enh(a11y): Add label to share note textbox
  • Loading branch information
nfebe authored Sep 28, 2023
2 parents 1a1514e + 39adf3a commit c5293bb
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions dist/5941-5941.js → dist/485-485.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/485-485.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/5941-5941.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit c5293bb

Please sign in to comment.