Open Wawet76 opened 4 years ago
What's the impact of this attribute being wrong for a non-English speaker?
what's the impact of this?
the impact is purely semantic.
since many sites have this attribute wrong anyways and/or content of the webpage can be in several languages, browsers, parsers and crawlers dont rely on it to be the final truth for language determination.
realistically, not even slight SEO-score difference in comparison to the correct solution, big OCD-score dive tho.
It's used by some screen readers for accessibility for blind people.... More commonly (but not needed for isitchristmas) : It's used by browsers to choose default spellchecker to use on inputs.
The lang attribute in the html tag is always set to "en" :
The web site is translated, so this value is wrong when the user is in a non English speaking country.
This attribute should indicate the main language used on the web site, or be removed.