Skip to content

Commit

Permalink
fix(files): make file list item link focusable
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Nov 20, 2023
1 parent a825427 commit 0555a16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files/src/components/FileEntry/FileEntryName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export default Vue.extend({
return {
title: displayName,
role: 'button',
tabindex: '0',
}
}

Expand All @@ -157,6 +158,7 @@ export default Vue.extend({
download: this.source.basename,
href: this.source.source,
title: t('files', 'Download file {name}', { name: this.displayName }),
tabindex: '0',
}
}

Expand Down Expand Up @@ -324,7 +326,6 @@ export default Vue.extend({
}
},


t,
},
})
Expand Down

0 comments on commit 0555a16

Please sign in to comment.