Skip to content

Commit b88864b

Browse files
authored
Merge pull request #36130 from nextcloud/enh/a11y-share-link-label
Add always visible share label
2 parents 97e83c3 + 41d7f9d commit b88864b

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

apps/files_sharing/src/components/SharingEntryLink.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,12 @@
127127
<NcActionInput ref="label"
128128
:class="{ error: errors.label }"
129129
:disabled="saving"
130-
:aria-label="t('files_sharing', 'Share label')"
130+
:label="t('files_sharing', 'Share label')"
131131
:value="share.newLabel !== undefined ? share.newLabel : share.label"
132132
icon="icon-edit"
133133
maxlength="255"
134134
@update:value="onLabelChange"
135-
@submit="onLabelSubmit">
136-
{{ t('files_sharing', 'Share label') }}
137-
</NcActionInput>
135+
@submit="onLabelSubmit" />
138136

139137
<SharePermissionsEditor :can-reshare="canReshare"
140138
:share.sync="share"

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)