Block "File" not accessible in frontend #22908
Labels
[Block] File
Affects the File Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Accessibility Feedback
Need input from accessibility
Needs Dev
Ready for, and needs developer efforts
[Status] In Progress
Tracking issues with work in progress
Describe the bug
Download Button in File Block is not accessible for screen reader users.
The Download Block shows the link of the file and a button to download. Both are not connected with each other, also the download attribute is missing.
Screen reader users will only hear the "Link [name of the link]" and "Link [Download]". So they are missing out the information which file they are gonna to download.
To reproduce
Expected behavior
you should here "download [name of file]"
Screenshots
Desktop (please complete the following information):
WordPress 5.4.1
Gutenberg Plugin 8.2.1
**Possible Solution
add an ID to the link of the file and add a Aria Description to the Button with the ID of the file
The text was updated successfully, but these errors were encountered: