Skip to content

Conversation

@jancborchardt
Copy link
Member

Before, there were a lot of duplicate links on the page all saying "Open file", which makes it a problem for screen readers:
image

This is now fixed by changing the link to say "Open filename" stating the actual filename.

Since the links are already there in text form directly above, in the future we could also remove the duplicate linked images from screenreader flow by using divs for them and triggering the link via Javascript.

@jancborchardt
Copy link
Member Author

/backport to stable21

@jancborchardt jancborchardt force-pushed the design/fix-linkname branch 2 times, most recently from 115421f to 8cae3c1 Compare April 13, 2021 17:51
@nickvergessen
Copy link
Member

Pushed a fix to the unit tests

Signed-off-by: Joas Schilling <[email protected]>
'isMimeTypeIcon' => true,
'fileId' => $fileId,
'view' => $info['view'] ?: 'files',
'filename' => basename($filePath),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickvergessen This is an REST API change, shouldn't it be documented?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants