3.34
lang attribute on html
Official text (as TDRA published it)
Have you ensured added the "lang" attribute to your HTML tag based on your language?
Why it matters to your customers
Screen readers use the lang attribute to choose a voice, so an English page marked as Arabic, or the other way round, is read out in a voice that cannot pronounce it. A blind customer hears nonsense and leaves without knowing what the page said.
How to fix it
Set lang on the html tag to the page's real language, ar for Arabic and en for English, then scan again.
How we measure it
We read the lang attribute on the html tag and compare it with the page's actual language.
The official guideline for this item