diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-23 01:22:33 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-31 18:39:16 +0200 |
commit | f01c8efa3858033eb45225c57c8eefa6a13cbf6c (patch) | |
tree | 9588aa981725d3ba47be71e73d0d6ac643148e17 /apps/files/src/components/FileEntry | |
parent | 15bfc63fa4aef80ade48a2f25cda933df6ca086e (diff) | |
download | nextcloud-server-f01c8efa3858033eb45225c57c8eefa6a13cbf6c.tar.gz nextcloud-server-f01c8efa3858033eb45225c57c8eefa6a13cbf6c.zip |
fix(files): Node loading information should be accessible
The loading icon visually informs that the node is currently loading,
but there is no non-visual information (accessible information).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components/FileEntry')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryCheckbox.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryCheckbox.vue b/apps/files/src/components/FileEntry/FileEntryCheckbox.vue index 059e2f89f5f..f2ab39d7525 100644 --- a/apps/files/src/components/FileEntry/FileEntryCheckbox.vue +++ b/apps/files/src/components/FileEntry/FileEntryCheckbox.vue @@ -5,7 +5,7 @@ <template> <td class="files-list__row-checkbox" @keyup.esc.exact="resetSelection"> - <NcLoadingIcon v-if="isLoading" /> + <NcLoadingIcon v-if="isLoading" :name="loadingLabel" /> <NcCheckboxRadioSwitch v-else :aria-label="ariaLabel" :checked="isSelected" @@ -83,6 +83,11 @@ export default defineComponent({ ? t('files', 'Toggle selection for file "{displayName}"', { displayName: this.source.basename }) : t('files', 'Toggle selection for folder "{displayName}"', { displayName: this.source.basename }) }, + loadingLabel() { + return this.isFile + ? t('files', 'File is loading') + : t('files', 'Folder is loading') + }, }, methods: { |