QA-073
Each page declares its language (WCAG 3.1.1).
The requirement
Each page declares its language (WCAG 3.1.1).
Why it matters to users
A screen reader picks its voice and pronunciation from the declared page language, so an Arabic page declared as English is read out unintelligibly. Translation tools and search engines use the same information.
How to fix it
Set the lang attribute on <html> to ar on Arabic pages and en on English pages, driven by the template from the page's language. Then scan again.
How we measure it
<html lang> is set and matches the page's text.