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:

<a href="toronto bus service.pdf">
Download the map of Toronto bus routes (PDF – 2Mb)
</a>

Note

If an icon is used to indicate the file format, refer to Section “6. Images and Icons“, to implement it in an accessible way.

Tip

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.

For example:

<a href="invoice.pdf">
Download your March invoice (PDF – Approx. 1.5 Mb)
</a>

Find out more

  1. Associated accessibility guideline for the graphic design: 5.1. Indicate the size and format of each document that can be downloaded.
  2. Other solution to display size and format on links: Tooltips simulated using ARIA.

Comments

Add a comment

Required fields are marked *.

Back to top