EN, Change language
Englishالعربية
OM-025

In Arabic the interface switches to a right-to-left layout.

The requirement (from the design system site)

In Arabic the interface switches to a right-to-left layout.

Why it matters to users

An Arabic reader starts at the right edge of the screen. If the Arabic page keeps a left-to-right layout, punctuation lands in the wrong place, numbers and words get scrambled, and the page feels like a poor translation.

How to fix it

Set dir=rtl and lang=ar on the html element of every Arabic page, and use logical CSS properties so the layout mirrors with it. Then scan again.

How we measure it

Arabic pages: html dir="rtl" or computed direction rtl on the body.

The rule on the design system site

Related rules

Right-to-left in Arabic · Oman OM-025 | xfix