Why is this important?
A link's text should give users a good indication of what to expect if they activate the link. This is especially useful in the case of links to non-HTML files, e.g. image files, PDFs, Microsoft Office or OpenDocument files, audio or video files, etc. A link to a non-HTML document should provide information about the document. This information includes a meaningful name, the file format, and file size.
Viewing or working with non-HTML files very often requires the use of other software or a plugin. Non-HTML files can also vary drastically in size. Downloading a large file can have a serious impact on one's mobile data plan, or take an extremely long time over a dial-up connection. In such cases, a user may prefer to avoid doing so.
Informing users up front about a file's format and size allows them to make an informed decision about whether or not to download it. Should they choose to download it, an indication of what type of application or plugin they will need to use the file is is helpful, as is providing an extra link to any plugin(s) required to use the file.
Providing useful link text as described above can also help screen reader users. Screen reader software typically enables the user to call up a list of all the links on a page for quicker access. Since, in this view, each link is removed from its surrounding page context, it can be difficult to determine the link's purpose if the link text alone does not make the target of the link clear.
How can I resolve this issue?
Indicate the file type directly after the linked file
What topics do this checkpoint affect?
Can you explain how this checkpoint works?
This checkpoint examines the page and reports if the <a href> tag is linked to the file type PDF/DOC/XLS/PPT/JPG/EXE and it isn't followed by a description including the file type previously mentioned. The checkpoint looks at plain text descriptions and not icons or images because screen reader users will not see those.