Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions apps/files/src/components/FileEntry/FileEntryName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default defineComponent({
return {
is: 'span',
params: {
title: t('files', 'This node is unavailable'),
title: t('files', '{displayName} (unavailable)', { displayName: this.source.displayname }),
},
}
}
Expand All @@ -148,11 +148,12 @@ export default defineComponent({
folder: this.activeFolder!,
contents: [],
})
const accessibleName = `${displayName}: ${this.source.displayname}`
return {
is: 'button',
params: {
'aria-label': displayName,
title: displayName,
'aria-label': accessibleName,
title: accessibleName,
tabindex: '0',
},
}
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/files_external/files-external-failed.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('Files user credentials', { testIsolation: true }, () => {
// Ensure the row is visible and marked as unavailable
getRowForFile('Storage1').as('row').should('be.visible')
cy.get('@row').find('[data-cy-files-list-row-name-link]')
.should('have.attr', 'title', 'This node is unavailable')
.should('have.attr', 'title', / \(unavailable\)$/)

// Ensure clicking on the location does not open the folder
cy.location().then((loc) => {
Expand All @@ -74,7 +74,7 @@ describe('Files user credentials', { testIsolation: true }, () => {
// Ensure the row is visible and marked as unavailable
getRowForFile('Storage2').as('row').should('be.visible')
cy.get('@row').find('[data-cy-files-list-row-name-link]')
.should('have.attr', 'title', 'This node is unavailable')
.should('have.attr', 'title', / \(unavailable\)$/)

// Ensure clicking on the location does not open the folder
cy.location().then((loc) => {
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

Loading