R063: Percent/unit ordering inconsistencies (%50 vs 50%)
A percent sign typed before the number, %50 rather than 50%, is usually an artifact of typing in a right-to-left field; some writers do it on purpose, so it reports at low confidence.
The check
- Id
- R063
- Category
- Numbers, dates and currency
- Default severity
When it fires
low confidence
Visible text on an Arabic page has a percent sign directly before a digit, like
%50. That is usually an artifact of typing in a right-to-left field, but it is a convention in some places, so it reports at low confidence for a person to check.Fix: If it was unintended, write the digits first (50% or ٥٠٪). If it is deliberate, make sure every percentage on the surface reads the same way.
What it leaves alone
Code blocks. The rule does not decide which order is right; it flags the sign-first order for a person to confirm. Up to four per page.
Broken, then fixed
<span>خصم %50</span><span>خصم 50%</span>Check it by hand
Run document.body.innerText.match(/%\s?\d+/g) in the DevTools console to list every sign-first percentage on the page.
What the report shows you
Each R063 finding carries the fields below that apply to it, so you can see why it fired without rerunning the scan.
- match
- The percentage found, as written.
- sample
- The element's text, cut to 80 characters.
Does your page trip R063?
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