Check families

Right-to-left layouts: what threefold checks and what it does not

threefold has no check for right-to-left layout yet. What a right-to-left market needs, which checks help a little, and where the gap is.

Check families · 2 min readMarkdown
On this page

threefold has no check for right-to-left (RTL) layout yet. None of the ten markets it collects today (the United Kingdom, the United States, Spain, Mexico, Argentina, Brazil, Germany, France, Japan and South Korea) reads right to left. Saudi Arabia is planned for the next wave and the United Arab Emirates for a later one, and a check will come with them. This page says what to test yourself in the meantime and which existing checks help.

What a right-to-left market needs

  • Direction on the page. The dir="rtl" attribute on the root element, with the right lang. W3C: setting dir in HTML.
  • Layout that mirrors. Margins, padding, floats and positions written with logical properties (margin-inline-start, not margin-left) flip by themselves. MDN: CSS logical properties.
  • Icons that mirror, and icons that do not. An arrow that means "next" flips; a clock, a logo or a phone does not.
  • Mixed text. A price, a Latin brand name or a phone number inside Arabic text can reorder punctuation unless it is isolated.
  • Native layouts. Use start and end, never left and right, in Android and iOS layouts, and test with the system set to an RTL language.

What threefold checks today that helps a little

CheckWhy it helpsMeasured status
CHK-WEB-003The page declares a valid lang, which RTL styling depends onsee the report
CHK-RUN-WEB01Renders web routes with 30 to 40% longer text and accented characters and catches clipping.production
CHK-RUN-IOS01, CHK-RUN-AND01Double-length and en-XA runs catch clipping on devices. Need a simulator or an emulatornot measured

None of them mirrors a layout or reads dir. A page that passes all of them can still be broken in Arabic.

Run what exists

npx threefold check . --markets de-DE

If npx reports that the package does not exist, it has not been published yet: the i18n check page and the guides say what works meanwhile.

These run for the locales you pass; none of them is specific to right-to-left.

Questions

Will threefold add an RTL check?

It is planned with the first right-to-left market. Nothing here claims one exists.

Can an agent test RTL for me?

It can start the app in an RTL locale and read the screens; threefold does not provide that test.

All check familiesGuides