- Enable technical aids to correctly interpret content expressed in another language.
- Simplify the work of machine translation tools.
- Enable web crawlers to extract strings of characters in a given language.
- Improve the accessibility of content for people with disabilities.
lang attribute and the appropriate language code for all content with a different language from that of the current page. For example: <title lang="en">
Open quality standards</title>
If the content with a different language is not already tagged by an element of the existing HTML structure (title, link, quote etc.), a specific element is then required (
span) to specify the language of this element (with the exception of the content of the
title element which cannot include internal markup.).
To find out more:
In each page checked:
- Identify all the content written in a language other than the main language, including the content of the HTML attributes returned to the user (such as that of the
alt attributeof images)
- Check that the language of this content is specified via a
langattribute put in the appropriate element by the change of language (title, link, list item) or inherited from a parent element.
Business application and benefits
The rules should be applied to your projects from the design phase through to post-implementation , and they should be understood by all professionals with web and customer experience (CX) responsibilities: from strategy to operations, marketers to project managers, and editorial to technical staff. The benefits of using this ruleset are numerous, including improving customer satisfaction, web performance, and e-commerce, and expanding your client base, while also decreasing your errors and costs.
The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.