-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
After uploading files to a File Drop, an icon indicating the file type is displayed next to the file name (e.g. a small PDF icon for PDF files). Because the icon is neither labeled nor hidden from accessibility APIs, it's described as an unlabeled image when using certain screen readers together with certain browsers (such as Google TalkBack + Google Chrome).
Relevant HTML snippet (after file upload):
<ul id="drop-uploaded-files">
<li title="Example.pdf" data-name="Example.pdf">
<img src="/apps/theming/img/core/filetypes/application-pdf.svg?v=1b3d5f7a"> Example.pdf
</li>
</ul>Since the file type is inferred based on the file extension alone and does not provide any new information not already contained in the filename, the icon is merely a visual aid. I believe the icon should therefore be hidden from accessibility APIs with aria-hidden="true".
Steps to reproduce
- Create new file request
- Upload a file to File Drop
Expected behavior
Image is ignored by accessibility APIs
Nextcloud Server version
30
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status