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>tags/v25.0.0beta1
@@ -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"> |
@@ -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 }} |
@@ -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> |