Start scanning free

( Operable / WCAG 2.4.4 )

Link opens a file with no format or size warning

This check maps to Link Purpose (In Context). Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Minor Level A WCAG 2.4.4 — Link Purpose (In Context)

What’s wrong

A link points to a PDF, Word document, or other non-HTML file without indicating the file type or size.

Why it matters

Screen reader and keyboard users expect links to open a webpage. An unexpected file download or PDF disrupts their flow. People on slow connections may not want to download a large file without warning.

How to fix it

Include the file format and ideally the size in or near the link text.

Before
<a href="/reports/annual-report.pdf">Download our annual report</a>
After
<a href="/reports/annual-report.pdf">
  Download our annual report (PDF, 2.4MB)
</a>

Learn more