Quality guide
Common Arabic website mistakes, and how to fix them
An arrow pointing the wrong way, a phone number shown backwards, a machine-translated sentence: any one of these tells an Arabic visitor that the site was not built for them. To a developer they look like small details; to the reader they are not. Here are the most common ones, with how to fix each.
6 min read
1. Getting the mirroring wrong
The classic mistake is to flip the whole site like a mirror image, or to flip nothing at all. The right answer sits in between: layout follows reading direction, so the menu starts on the right, the "Next" button sits on the left, and arrows that mean "forward" point left. But some things never flip.
- Flip: navigation arrows and arrows inside buttons, back and next icons, column order and sidebars.
- Never flip: the logo, numbers, phone numbers, emails and URLs, video and audio controls, time-based charts, and icons of real objects such as a clock or a checkmark.
- The fix: set direction once with dir="rtl" on the page element, and use logical CSS properties such as margin-inline-start instead of margin-left, so layouts mirror themselves without a second copy of the code.
2. Arabic type that is too small or hard to read
Many sites pick a beautiful Latin font, then leave Arabic to the browser's default, so the page looks as if it were written in two languages from two different worlds. Often the Arabic also ends up smaller than the English at the same font size, because Arabic letters render visually smaller in many fonts.
- Choose an Arabic font designed for screens, matched to the Latin font in weight and character.
- Never set Arabic smaller than English; size it up slightly if it looks smaller.
- Avoid decorative fonts for running text; keep them, if at all, for short headings.
3. Letter-spacing and line-height
Arabic letters connect, and any extra letter-spacing breaks those connections, so words fall apart. It sneaks in easily when English heading styles are reused as they are. The rule is simple: no letter-spacing on Arabic at all, and no uppercase, which means nothing in Arabic script.
Line-height matters too. Arabic needs more room between lines because of letters that descend below the baseline and the dots and diacritics above it. A line-height that suits English makes Arabic feel cramped. We use around 1.75 for Arabic body text and 1.35 for headings.
4. Numbers, phones and emails inside Arabic text
Put a phone number such as +971 50 123 4567 inside an Arabic sentence and the browser may reorder its parts, so it shows up reversed or the + jumps to the other end. The same happens with email addresses, URLs and prices that include symbols.
The fix is to wrap every phone number, email and URL in an element with dir="ltr", and give email and phone inputs the same direction. Then pick one way of writing numbers and stick to it: we, for example, write prices in Western digits in both languages so everyone reads them without confusion.
5. Machine translation and mixed-direction text
Machine translation usually produces grammatical sentences, but they do not read as Arabic. Readers notice at once, and take it to mean the business did not care about its Arabic audience. The fix is to write the Arabic in Arabic, by a writer who knows the market, rather than carrying it over from English word by word.
A close cousin is leaving parts of the interface in English: a button label here, a date there, the "Message sent" confirmation after a form. And when an English word sits inside an Arabic sentence, such as a product or brand name, mark it with its own language so punctuation does not jump to the wrong side.
6. Forms and search engines
The form is where a visitor decides to contact you, and it is often the weakest part of an Arabic site: Arabic labels with English error messages, an email field that types from the right, a success message nobody translated. Go through every state, empty field, invalid email, failed submission and success, and make sure each message is written clearly in Arabic.
Finally, search engines. If Arabic and English share one URL, or the Arabic appears through a toggle that swaps the text without changing the URL, Google will mostly not find your Arabic pages. Give each language its own URL, add hreflang tags that link the two versions, and write each page's title and description using the phrase people actually search for in that language.
