aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-27 14:31:48 +0200
committerGitHub <noreply@github.com>2022-07-27 14:31:48 +0200
commit3e9c52ae5f640e40f26beec76c26272cf7fb1387 (patch)
treec1aab60ef7066f1d75ac500807a63b764ec1bb9d /apps/files_sharing
parentfc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75 (diff)
parent4a8cbb82fd0844f51bf21da13de5b1af03b74a93 (diff)
downloadnextcloud-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.vue1
-rw-r--r--apps/files_sharing/src/components/SharingEntryLink.vue1
-rw-r--r--apps/files_sharing/src/views/SharingInherited.vue4
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>