EN, Change language
Englishالعربية
JO-048

Text alignment follows the language (right-to-left for Arabic, left-to-right for English).

The requirement (from the 2022 Guidelines)

Text alignment follows the language (right-to-left for Arabic, left-to-right for English).

Why it matters to users

Arabic text aligned to the left has ragged line starts that are hard to track, and punctuation and numbers get jumbled. An older user reading service conditions tires quickly and gives up before understanding what is needed.

How to fix it

Set dir=rtl on Arabic pages and dir=ltr on English ones, and use logical CSS such as text-align: start rather than hard-coding left alignment. Then scan again.

How we measure it

Per page: computed direction rtl on Arabic pages and ltr on English pages; computed text-align of body paragraphs not against the language (left on Arabic, right on English).

Its place in the MODEE guidelines

Related rules

Text aligned to language · Jordan JO-048 | xfix