diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-27 14:31:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 14:31:48 +0200 |
commit | 3e9c52ae5f640e40f26beec76c26272cf7fb1387 (patch) | |
tree | c1aab60ef7066f1d75ac500807a63b764ec1bb9d /apps/files_sharing | |
parent | fc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75 (diff) | |
parent | 4a8cbb82fd0844f51bf21da13de5b1af03b74a93 (diff) | |
download | nextcloud-server-3e9c52ae5f640e40f26beec76c26272cf7fb1387.tar.gz nextcloud-server-3e9c52ae5f640e40f26beec76c26272cf7fb1387.zip |
Merge pull request #33316 from nextcloud/bugfix/noid/aria-label-share-link-buttons
Accessible names for share panel buttons
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryInternal.vue | 1 | ||||
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 1 | ||||
-rw-r--r-- | apps/files_sharing/src/views/SharingInherited.vue | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index 1f28ced9274..c2dbc5a4edc 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -10,6 +10,7 @@ <ActionLink ref="copyButton" :href="internalLink" + :aria-label="t('files_sharing', 'Copy internal link to clipboard')" target="_blank" :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'" @click.prevent="copyLink"> diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index a8cd09a9a9f..672b32c1cd1 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -40,6 +40,7 @@ class="sharing-entry__copy"> <ActionLink :href="shareLink" target="_blank" + :aria-label="t('files_sharing', 'Copy public link to clipboard')" :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'" @click.stop.prevent="copyLink"> {{ clipboardTooltip }} diff --git a/apps/files_sharing/src/views/SharingInherited.vue b/apps/files_sharing/src/views/SharingInherited.vue index 27ab59c4729..18226b5859b 100644 --- a/apps/files_sharing/src/views/SharingInherited.vue +++ b/apps/files_sharing/src/views/SharingInherited.vue @@ -30,7 +30,9 @@ <template #avatar> <div class="avatar-shared icon-more-white" /> </template> - <ActionButton :icon="showInheritedSharesIcon" @click.prevent.stop="toggleInheritedShares"> + <ActionButton :icon="showInheritedSharesIcon" + :aria-label="mainTitle" + @click.prevent.stop="toggleInheritedShares"> {{ toggleTooltip }} </ActionButton> </SharingEntrySimple> |