No html lang attribute
low Accessibility missing_lang
What we check
The <html> element has no lang attribute.
Why it matters
Screen readers use it to pick a pronunciation, and browsers use it for translation prompts and hyphenation.
How to fix it
Set <html lang="en"> (or the right language code) in the base template.
How to confirm the fix
View the page source; the first tag should carry the language.
In the API response
When this check fails, output.technical_issues contains an item with "id": "missing_lang", the affected URLs as evidence and the fix. If it is among the highest-priority problems it also appears in actions (as finding_id) and in plan.
Related checks
Run the full audit on your site. One call checks every item in the check reference and ranks the fixes.
Open the playground Endpoint details