Skip to content
AbsoluteFirst

Guides / Clarity

The page language is not declared

Tell machines the language so they do not have to guess.

Why it matters

The lang attribute tells browsers and screen readers which language the page is written in, so text is pronounced correctly and translation prompts behave. Search engines mostly detect language from the text itself, so this is a small accessibility and quality fix.

How to fix it

  1. Add the lang attribute to the opening html tag of your template.
Template (example)
<html lang="en">

How we check it

We re-read the home page and look for the lang attribute.

Where it sits in the plan

Stage 5 of 5, “Finish the details”. Low-risk refinements. Each is small; do them when the stages above are done.

Typical effort: about 5 minutes. In plain terms: ask your developer to add the language setting to the site’s HTML tag.

Does your site have this problem?

Scan it and see the evidence from your own pages.

Related guides