Glossary · Arabic & RTL

RTL means starting from the right.

Arabic readers begin every line at the right edge, and they expect the screen to begin there too. Here is what the term covers, what it changes in a layout, and the small mistakes that make an Arabic app feel translated instead of built for its readers.

Updated 19 November 2026Sources checked 16 November 2026Reviewed by Eng. Hasan Kassas

What it means

RTL, short for right-to-left, is the writing direction of scripts such as Arabic, Persian, Urdu and Syriac: each line begins at the right edge and runs toward the left. In software, an RTL interface goes further and mirrors its layout, so alignment, reading order, navigation and directional arrows also start from the right.

Two layers are at work. Inside a line of text, the Unicode Bidirectional Algorithm puts characters into display order, which is why an English word in the middle of an Arabic sentence still reads correctly. That layer has its own entry: bidirectional text. The second layer is the layout around the text: toolbars, lists, cards, steps and icons. None of them knows which way the user reads until the page or the app says so.

On the web, the signal is markup. lang="ar" and dir="rtl" go on the html element; the W3C prefers this to a CSS rule because direction is part of the content. Spacing written with logical properties, such as margin-inline-start, then follows the page in either language. In Flutter, an Arabic locale such as ar_SY on MaterialApp, together with the Material localizations, makes Directionality right-to-left for every widget below it.

Names

What it is called

NameNotes
EnglishRight-to-left (RTL)Interface work also says "RTL support", "RTL layout" and "mirroring". The opposite is LTR.
Modern Standard Arabicمن اليمين إلى اليسارThe formal phrase in written Arabic. Its opposite is من اليسار إلى اليمين.
Also heard in SyriaRTL, من اليمين لليسارDevelopers tend to say the three Latin letters; in conversation the shorter لليسار form is common.
In code or standardsdir="rtl", TextDirection.rtlThe HTML attribute and the Flutter value. CSS direction: rtl also exists but should not be the only signal.

An example from a Syrian app

Take the checkout screen of a grocery delivery app in Damascus, shown in Arabic. The title «إتمام الطلب» sits at the top right. The back arrow next to it points right, toward the previous screen. The delivery address, for example «المزة، بناء 12، الطابق الثالث، جانب الصيدلية», lines up with the right edge, and the three steps (basket, address, payment) run from right to left. The main button «متابعة» carries an arrow pointing left, the way the user is moving.

Other parts of the same screen stay as they are. The shop logo is not flipped. The small map showing the building is not mirrored, because a map has a real north. The mobile number field, holding something like 0933 123 456, stays left-to-right so the digits appear in the order they were typed. The total keeps its largest digit on the left, which is how numbers are written in Arabic too.

None of these choices is decoration. An Arabic reader spots an arrow pointing the wrong way as fast as an English reader would spot a back button on the right.

In practice

Where it matters

  • Navigation. Back and next arrows, chevrons on list rows and the order of tabs follow the reading direction. In Flutter, the stock Icons.arrow_back and Icons.arrow_forward mirror by themselves; arrow images you draw yourself do not.
  • Spacing and position. Any margin, padding, border or offset tied to the start of a line belongs in start and end terms, not left and right. In CSS that means logical properties; in Flutter, EdgeInsetsDirectional, AlignmentDirectional and PositionedDirectional.
  • Forms. Labels and Arabic text fields align right, while phone, card and code fields keep a left-to-right direction inside the RTL form.
  • Sequences. Progress bars, sliders, carousels and step indicators should advance in the reading direction, so "forward" means toward the left.
Pitfalls

Common mistakes

  • Putting the direction only in CSS. direction: rtl works visually, but if the stylesheet fails to load the page loses its direction. Set dir in the markup.
  • Physical spacing. In our Chrome 157 test on 16 November 2026, margin-left: 16px stayed on the left of a dir="rtl" page, while margin-inline-start: 16px moved to the right. Flutter works the same way: in our tests EdgeInsetsDirectional.only(start: 16) resolved to right padding in RTL, while plain EdgeInsets.only(left: 16) has no notion of direction and stays on the left.
  • Mirroring too much. Logos, photos, media play buttons and check marks keep their shape. Only symbols that point along the reading direction should flip.
  • Letting phone fields turn RTL with the rest of the form. The +963 then ends up at the wrong end while the user is still typing.
  • Checking the app only in English. RTL layout bugs stay invisible until someone opens the Arabic version, so run the same screens and tests in both directions.
FAQ

Common questions

Right-to-left. It names scripts whose lines start at the right edge, such as Arabic, Persian, Urdu and Syriac, and the mirrored interfaces built for them.

Sources

Where these facts come from

  1. Structural markup and right-to-left text in HTMLW3C Internationalization · accessed 16 Nov 2026
  2. The dir global attributeMDN Web Docs · accessed 16 Nov 2026
  3. CSS logical properties and valuesMDN Web Docs · accessed 16 Nov 2026
  4. Internationalizing Flutter appsFlutter documentation · accessed 16 Nov 2026
  5. Directionality classFlutter API reference · accessed 16 Nov 2026
  6. EdgeInsetsDirectional classFlutter API reference · accessed 16 Nov 2026
  7. IconData.matchTextDirectionFlutter API reference · accessed 16 Nov 2026

Layout behaviour measured in headless Chrome 157 and with flutter test (Flutter 3.44, Dart 3.12) on 16 November 2026.

Building an Arabic app that reads the right way?

Tell us what you are making. We build Arabic-first apps and sites for Syrian users and can look over yours.