Menu

1 / 3

RTL QA checklist: 10 things that break when you launch a Hebrew or Arabic version of your site

DEV Community: frontend·Itay Cohen·9 days ago
#kz26JTOR
#devtofrontend#devto#dev#left#right
Long article (733 words) — no AI summary yet.
Reading 0:00
15s threshold

Adding dir="rtl" flips the page. It doesn't fix the page. Most RTL bugs come from CSS that was written with "left" and "right" baked in, and from content that mixes directions. Here is the checklist I run on a Hebrew or Arabic page, with the fix for each item.

I built a small test page with deliberate defects to make the examples concrete. Every item below was found on it by a quick scripted pass plus a visual check.

1. dir and lang on the root

<html lang = "he" dir = "rtl" >

Enter fullscreen mode

Exit fullscreen mode

Without dir , the browser lays everything out left-to-right. Without lang , screen readers and hyphenation guess. Check this first; it's the cheapest fix.

2. Physical margins and padding

margin-left: auto on a logo pushes it the wrong way once the page is RTL.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.