EN, Change language
Englishالعربية
3.33

dir attribute on body

Official text (as TDRA published it)

Have you ensured adding the "direction" attribute to your body tag according to your language?

Why it matters to your customers

An Arabic page without dir="rtl" on its body puts punctuation, numbers and line order in the wrong places, and the Design System's CSS will not switch to the Arabic font. Arabic readers get jumbled text and lose track of the steps.

How to fix it

Add dir="rtl" to the body tag of every Arabic page, then scan again.

How we measure it

We read the dir attribute on the body tag of Arabic pages (the system's CSS switches fonts from it).

The official guideline for this item

Related rules

dir attribute on body · UAE 3.33 | xfix