Checklist: right to left
This page is for designers who check a design in right-to-left languages. Background: Right-to-left designs.
Contents
Frame
- To do:
dir="rtl"on<html>only for right-to-left languages (from$site.text_direction). - To do:
langmatches the language. - To do: Side columns, header items and the skip link appear on the mirrored side.
CSS
- To do: No physical
left/rightproperties left for layout (Logical CSS properties). - To do: Mirror rules (
:where([dir="rtl"])) for floats, background positions, asymmetric shorthands, shadows, transforms. - To do: Only directional icons flipped (arrows, chevrons, carets, reply, sign-out); clocks, check marks, logos not.
- To do: Alignment chosen by editors (
text-leftand the like) not mirrored.
Text and content
- To do: Content in a left-to-right language inside a right-to-left page (and the reverse) carries its own
langanddir. - To do: Names typed by editors inside translated sentences isolated with
<bdi>ordir="auto". - To do: The font, or its fallback, covers the script; line height suits it.
- To do: Numbers, dates and phone numbers read correctly.
Behavior
- To do: Sliders move in the reading direction; previous and next buttons are on the right sides.
- To do: Off-canvas menus open from the start side.
- To do: Drag handles and resizers work.
- To do: Keyboard Left and Right arrows in widgets follow the visual direction.
No regression
- To do: Left-to-right pages are unchanged (compare screenshots before and after).
Related pages
- Tutorial: a right-to-left theme
- Right-to-left languages in the administration
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.