Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Security & accessibilityMiddleOccasionalTest design

What should an RTL and bidirectional-text test strategy cover?

Answer

Test full right-to-left layout mirroring, logical navigation order, alignment, icons whose meaning should or should not mirror, and mixed-direction strings such as Arabic text containing phone numbers, URLs or product codes. Verify forms, tables, truncation and copy/paste with real content. Prefer semantic direction markup and isolation, then include keyboard and screen-reader checks because visual mirroring alone is insufficient.

Strong answer includes

  • covers mixed-direction content, not only mirrored layout
  • distinguishes semantic direction from visual alignment
  • includes keyboard and assistive-technology behavior

Practical example

An Arabic UI mirrors the layout correctly, but a product SKU like ABC-123 embedded in a right-to-left sentence renders with its characters visually reordered because the text lacks Unicode directional isolation marks around the embedded Latin-and-digit run, making the code unreadable even though the surrounding Arabic text is perfectly correct.

#rtl#bidirectional-text#localization#accessibility

Sources

W3C internationalization guidance for bidirectional textW3C · Right-to-left content, bidirectional isolation and semantic direction markupWeb Content Accessibility Guidelines 2.2W3C · Accessibility requirements and conformance