Opened 3 years ago
Last modified 8 months ago
#6319 new defect (bug)
Trac: attachment links need text
Reported by: | sabernhardt | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | has-patch |
Cc: |
Description
Accessibility issues:
- The Raw Attachment download links do not have any text, and they could include the file name to make the text unique.
- The image previews do not have alternative text.
Change History (2)
This ticket was mentioned in PR #72 on WordPress/wordpress.org by sabernhardt.
3 years ago
#1
- Keywords has-patch added
This ticket was mentioned in PR #225 on WordPress/wordpress.org by @sabernhardt.
8 months ago
#2
- "Download" and the file name are added as visually hidden text for raw attachment download links, at least within the comments area. (The "Download" title attribute is removed.)
- The filename is inside its own container for use in the preview links. (The class could be applied to the first link instead, if preferable.)
- The preview images could use the filename as alternative text in all cases, but I favored the user-added description—when available—in this patch.
Note: See
TracTickets for help on using
tickets.
This can be improved, but it's a start.
https://meta.trac.wordpress.org/ticket/6319