- Allow the browser to choose the right character encoding to display the page.
- Improve the way content is taken into account by search engines and indexing tools.
charset parameter of the HTTP header content-type is completed in the following way:
Content-Type: text/html; charset=utf-8 (utf-8 here is an example), depending on the character set actually used by the document and its MIME type.
For each page checked:
- Check that
charsetis in the content-type field returned by the server using a dedicated tool;
- Check that the declared character set actually corresponds to the character set used by the document. If there are incorrect characters instead of accents or the like, best practice will certainly be invalidated.
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.