Adding dir="rtl" flips the page. It doesn't fix the page. Most RTL bugs come from CSS that was written with "left" and "right" baked in, and from content that mixes directions. Here is the checklist I run on a Hebrew or Arabic page, with the fix for each item.
I built a small test page with deliberate defects to make the examples concrete. Every item below was found on it by a quick scripted pass plus a visual check.
1. dir and lang on the root
<html lang = "he" dir = "rtl" >
Enter fullscreen mode
Exit fullscreen mode
Without dir , the browser lays everything out left-to-right. Without lang , screen readers and hyphenation guess. Check this first; it's the cheapest fix.
2. Physical margins and padding
margin-left: auto on a logo pushes it the wrong way once the page is RTL.…