Add the size and format of files to “Download” links
If a link is being used to download a file, add the following information to the link:
- Document name.
- Document format.
- Document size.
<a href="toronto bus service.pdf"> Download the map of Toronto bus routes (PDF – 2Mb) </a>
If an icon is used to indicate the file format, refer to Section “6. Images and Icons“, to implement it in an accessible way.
In situations where the size of the downloadable file can not be known in advance (i.e. generation on the fly), good accessibility practice is to give an approximate or maximum size.
<a href="invoice.pdf"> Download your March invoice (PDF – Approx. 1.5 Mb) </a>
Find out more
- Associated accessibility guideline for the graphic design: 5.1. Indicate the size and format of each document that can be downloaded.
- Other solution to display size and format on links: Tooltips simulated using ARIA.