瀏覽代碼

Accessible names for share panel 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>
tags/v25.0.0beta1
Vincent Petry 1 年之前
父節點
當前提交
4a8cbb82fd
沒有連結到貢獻者的電子郵件帳戶。

+ 1
- 0
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">

+ 1
- 0
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 }}

+ 3
- 1
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>

+ 2
- 2
dist/files_sharing-files_sharing_tab.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
dist/files_sharing-files_sharing_tab.js.map
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存