R002: html[lang] missing, non-Arabic, or contradicting detected content
Whether the page declares itself Arabic and right-to-left, and whether its title, metadata, canonical and alternates agree with that.
The check
- Id
- R002
- Category
- Document and metadata
- Default severity
- high
What it looks for
html[lang] missing, non-Arabic, or contradicting detected content
How to fix it
Declare the content language on the root element: <html lang="ar">, prefer a regional tag like ar-SA or ar-AE when the product targets a specific market.
More document and metadata checks
- R001document direction missing, contradicted, or declared only in CSS
- R003hreflang alternate set lacks any Arabic entry on an Arabic page
- R004<title> or meta description majority-Latin on an Arabic page
- R005OpenGraph/Twitter metadata untranslated or og:locale missing/invalid
- R006Canonical URL points at a different-locale variant
Does your page trip R002?
Paste a URL. Ritla renders the page on desktop and mobile, runs every check, and shows the top issues with screenshot evidence.