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
@enriquesanchez or @afercia, it sounds like something that should be addressed.
If my assumption is confirmed, it will require deprecation entry in the block definition. We won鈥檛 be able to apply such fix back to already published posts but it鈥檚 be auto-fixed when saving edited posts.
Thanks @gziolo!
@jeryj already started a PR and I believe he shared some of the same concerns you mentioned.
Most helpful comment
@enriquesanchez or @afercia, it sounds like something that should be addressed.
If my assumption is confirmed, it will require deprecation entry in the block definition. We won鈥檛 be able to apply such fix back to already published posts but it鈥檚 be auto-fixed when saving edited posts.