EN, Change language
Englishالعربية
OM-065

Use meaningful link text so screen readers announce the file name and action; do not use vague action text such as 'Click here'.

The requirement (from the design system site)

Use meaningful link text so screen readers announce the file name and action; do not use vague action text such as 'Click here'.

Why it matters to users

A screen-reader user scanning the links on a page hears "Download, Download, Click here" with no hint of which form or guide each one is. They end up opening every file to find the one they need.

How to fix it

Make each file link name both the file and the action, such as "Download the service guide (PDF)", or use gup-file-item, which shows the name with the link. Then scan again.

How we measure it

Links to files (href ending in .pdf/.docx/.xlsx etc., a download attribute, a document URL without an extension such as /web/content/…?download=True, /attachment or /download/, or a link named or iconed as a download) have an accessible name naming the file or its content, not only Download/تحميل/Click here. Page chrome counts once. No file link found: not applicable only when a library or publications page was read; otherwise not measured.

The rule on the design system site

File links name the file · Oman OM-065 | xfix