Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-22 12:58:08 +0300
committerVincent Petry <vincent@nextcloud.com>2022-07-27 00:03:38 +0300
commit4a8cbb82fd0844f51bf21da13de5b1af03b74a93 (patch)
treed30aece5acd2e5b25b5937c0a6650282b318b208 /apps/files_sharing
parentac4e60e6f43125dc2adc2545ba426d74a62b9ed0 (diff)
Accessible names for share panel buttonsbugfix/noid/aria-label-share-link-buttons
Added aria-label for the buttons on the share panel. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
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>