R031: float: left/right on content elements in RTL context without override

Left and right written into styles that should follow the reading direction: margins, floats, shadows and transforms.

The check

Id
R031
Category
Physical CSS
Default severity
medium

What it looks for

float: left/right on content elements in RTL context without override

How to fix it

Use float: inline-start / inline-end (or flex/grid) so the float mirrors with direction.

Does your page trip R031?

Paste a URL. Ritla renders the page on desktop and mobile, runs every check, and shows the top issues with screenshot evidence.