R030: Direction-sensitive physical properties without an RTL override
Left and right written into styles that should follow the reading direction: margins, floats, shadows and transforms.
The check
- Id
- R030
- Category
- Physical CSS
- Default severity
- medium
What it looks for
Direction-sensitive physical properties without an RTL override
How to fix it
Rewrite physical properties as logical ones: margin-left → margin-inline-start, padding-right → padding-inline-end, left → inset-inline-start, … One declaration then serves both directions.
More physical css checks
Does your page trip R030?
Paste a URL. Ritla renders the page on desktop and mobile, runs every check, and shows the top issues with screenshot evidence.