Component Library

Language of Page

Issue Description

The default human language of each Web page cannot be programmatically determined.

Recommendation

Add a language tag after the doctype declaration to the html tags of each page:

For XHTML, both <lang> and <xml:lang> must be set.

https://accessibility.psu.edu/foreignlanguages/langtaghtml/