Ensure all lang attributes have a valid value

Specifying a valid BCP 47 language helps screen readers announce text properly. Lighthouse reports when any lang attribute does not have a valid value.

How to fix this problem

To fix this problem, Use only valid language codes in the lang attribute. The language specified in the HTML document must be one of the valid languages to ensure text is pronounced correctly for screen reader users. Learn more in lang attribute must have a valid value.

More information

Last updated: Improve article