R021: Unisolated bidi hazards: phones, emails, Latin tokens inside Arabic text
Containers, alignment, inputs and icons that run the wrong way, and mixed Arabic and Latin text the bidi algorithm will reorder.
The check
- Id
- R021
- Category
- Direction and bidi
- Default severity
- medium
What it looks for
Unisolated bidi hazards: phones, emails, Latin tokens inside Arabic text
How to fix it
Wrap direction-sensitive tokens: <bdi>…</bdi> or <span dir="ltr">…</span>. Phone numbers must stay LTR: <span dir="ltr">+966 55 123 4567</span>.
More direction and bidi checks
- R020Forced-LTR container, or a bidi override, over Arabic content
- R022text-align: left explicitly set on majority-Arabic text
- R023Text inputs rendered LTR where Arabic input is expected
- R024Punctuation rendering at the wrong visual end of Arabic text
- R025Directional icon pointing against the sequence its control advances
Does your page trip R021?
Paste a URL. Ritla renders the page on desktop and mobile, runs every check, and shows the top issues with screenshot evidence.