Skip to content

Commit

Permalink
Merge pull request #40681 from nextcloud/manual/backport/stable27/40430
Browse files Browse the repository at this point in the history
[stable27] enh(a11y): Add label to share note textbox
  • Loading branch information
nfebe authored Oct 10, 2023
2 parents feccf26 + 4516bb0 commit dfd0adf
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 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 @@ -139,7 +139,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
4 changes: 2 additions & 2 deletions dist/core-common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-common.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

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 dfd0adf

Please sign in to comment.