EN, Change language
Englishالعربية
BH-086

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 from the declared page language, so an Arabic page declared as English is read out as gibberish. Search engines and machine translation get it wrong too.

How to fix it

Set the lang attribute on the html element of every page from your page layout: lang="ar" with dir="rtl" for Arabic pages and lang="en" for English. Then scan again.

How we measure it

html lang present and matching the script of the content.

Its official source

Related rules

Page language declared · Bahrain BH-086 | xfix