The default human language of each web page has been set

Design Notes

Design decisions are not relevant.

Developer Notes

Setting language codes

Identifying the human language of the page exposes the content of the page to user agents and assistive technologies with more accuracy — including correct pronunciation of words and display of characters.

For example <html lang="en">

If a webpage has content in more than one language, set the page to the language that is used the most.

More information

Testing Notes

The default human language of each web page as been set

  • The language of the page is specified

Steps to check

  • Run an automated tool against the page

Impact range: Medium - Low

Test type: Automated

Tool: ARC Toolkit (check Page navigation & language)

WCAG Reference: Understanding Success Criterion 3.1.1 Language of Page