R062: Foreign currency formatting in a SAR/AED market context
On a Saudi or Emirati page, a dollar, euro or pound price on a button, card or table cell reads as the wrong market; amounts quoted within longer prose are skipped.
The check
- Id
- R062
- Category
- Numbers, dates and currency
- Default severity
When it fires
medium confidence
The page shows it serves the Saudi or Emirati market, through
lang="ar-SA"orlang="ar-AE"or by mentioning the riyal, the dirham, SAR or AED anywhere, and a price appears in dollars, euros or pounds, by symbol or by code.Fix: Show local currency (or clearly label the foreign one); format via Intl.NumberFormat with the target locale.
What it leaves alone
Pages with no Saudi or Emirati signal; amounts inside a paragraph, article, quotation, caption or list item of 80 characters or more, where the page is writing about a figure rather than offering it; and code blocks, translate="no" and non-Arabic lang contexts. Buttons and links are always checked. Up to five per page.
Broken, then fixed
<span class="price">$49</span><span class="price">184 ر.س</span>Check it by hand
Run document.body.innerText.match(/[$£€]\s?\d[\d.,]*|\d[\d.,]*\s?[$£€]|\b(USD|EUR|GBP)\b\s?\d[\d.,]*|\d[\d.,]*\s?\b(USD|EUR|GBP)\b/gi) in the DevTools console to list the foreign-currency amounts on the page.
What the report shows you
Each R062 finding carries the fields below that apply to it, so you can see why it fired without rerunning the scan.
- match
- The amount found, as written.
- sample
- The element's text, cut to 100 characters.
Does your page trip R062?
Paste a URL. Ritla renders the page on desktop, tablet and mobile, runs every check, and shows the top issues with screenshot evidence.
Scan a page freeBrowse the checks