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

Accessible names for share panel buttons
pull/33380/head
Vincent Petry 4 years ago committed by GitHub
commit 3e9c52ae5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/files_sharing/src/components/SharingEntryInternal.vue
  2. 1
      apps/files_sharing/src/components/SharingEntryLink.vue
  3. 4
      apps/files_sharing/src/views/SharingInherited.vue
  4. 4
      dist/files_sharing-files_sharing_tab.js
  5. 2
      dist/files_sharing-files_sharing_tab.js.map

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save