Link to a file does not say what it is

  • WCAG 2.4.4 Link Purpose (In Context), level A
  • Minor
  • Links and buttons
  • Needs review
  • Server pass

Why it matters

People should know before they click that a link downloads a PDF or opens a spreadsheet, and roughly how large it is.

How to fix it

Include the type and size in the link text.

<a href="/brochure.pdf">Brochure (PDF, 2.4 MB)</a>

Read the W3C guidance: Understanding 2.4.4 Link Purpose (In Context).

This is a check that needs a person. A11yMate flags it for review rather than reporting a failure.

Related rules

Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.