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.