Opened 21 months ago

Last modified 21 months ago

#6319 new defect (bug)

Trac: attachment links need text

Reported by: sabernhardt's profile sabernhardt Owned by:
Milestone: Priority: normal
Component: Trac Keywords: has-patch


Accessibility issues:

  1. The Raw Attachment download links do not have any text, and they could include the file name to make the text unique.
  2. The image previews do not have alternative text.

Change History (1)

This ticket was mentioned in PR #72 on WordPress/ by sabernhardt.

21 months ago

  • Keywords has-patch added

This can be improved, but it's a start.

  • "Raw attachment" and the file name are added as invisible text for download links, at least within the comments area. (I kept the "Download" title attribute, though it does not help everyone.)
  • The filename is inside its own container for use in the preview links.
  • 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.