Merge pull request #33316 from nextcloud/bugfix/noid/aria-label-share-link-buttons

Accessible names for share panel buttons
This commit is contained in:
Vincent Petry 2022-07-27 14:31:48 +02:00 committed by GitHub
commit 3e9c52ae5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 4 deletions

View file

@ -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">

View file

@ -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 }}

View file

@ -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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long