]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files): make file list item link focusable
authorGrigorii K. Shartsev <me@shgk.me>
Mon, 20 Nov 2023 10:54:39 +0000 (11:54 +0100)
committerGrigorii K. Shartsev <me@shgk.me>
Mon, 8 Jan 2024 18:55:49 +0000 (19:55 +0100)
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
apps/files/src/components/FileEntry/FileEntryName.vue

index e5cd00f10d47961f63c768b2b2892bc436fe48b9..2c7cdc193767fbc19c0770d41093de6c9c5433a8 100644 (file)
@@ -151,6 +151,7 @@ export default Vue.extend({
                                return {
                                        title: displayName,
                                        role: 'button',
+                                       tabindex: '0',
                                }
                        }
 
@@ -159,6 +160,7 @@ export default Vue.extend({
                                        download: this.source.basename,
                                        href: this.source.source,
                                        title: t('files', 'Download file {name}', { name: this.displayName }),
+                                       tabindex: '0',
                                }
                        }
 
@@ -329,7 +331,6 @@ export default Vue.extend({
                        }
                },
 
-
                t,
        },
 })