Previous rule | Rule 049 | Next rule

Downloading file language is specified when it differs from the original page language

Specify the language of the files for download, is like putting indicators in a digital library: it makes it easy for everyone to find what they are looking for, without any nasty surprises. Imagine clicking a link expecting a document in French and getting a text in English—it’s a bit like ordering a croissant and receiving a burrito instead! By clearly indicating the language of the files, you make your book more welcoming and easy to use. It is a small detail that makes a big difference, much like a good host ensuring every guest finds what they need without getting lost in a linguistic maze. So please your users and avoid language surprises – always make the file language download!

Objectives

  • Allow to know what to expect before uploading a document, avoiding confusion or frustration.
  • Identifier rapidement les fichiers disponibles dans une langue de préférence, améliorant ainsi leur expérience de navigation.
  • Reduce the risk of unnecessary errors and downloads, improving efficiency and satisfaction.

Implementation

  • Make a list of all files available for download, write down the language of each file and write down a text that gives this indication
  • Use the lang attribute to specify the language of HTML elements, including links to downloadable files
  • Clearly specify the language of the file in the link text or in a related description

Control

  • Make sure that each link to a download file includes a clear indication of the language of the file, via a descriptive text.
  • Language detection tools can help

Validation

  • Needs to be verified by a human.

Information 

  • Steps involved : Design
  • Tags : Usability
  • Category : Liens
  • Rule source : Opquast
  • Opquast reference : 4 144
  • Updated on January 10, 2025
  • References : N/A
  • Associated vocabulary :