Webtrax docs

Rules · SEO basics

Page does not declare its language

seo.lang.missing · default severity LOW · rule version 1

Why it matters

Search engines and screen readers rely on <html lang> to handle the text correctly.

How to fix it

Add a lang attribute, e.g. <html lang="en">.

Checking the fix

Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain seo.lang.missing.