You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image lightbox: ArrowLeft and ArrowRight move the wrong way on right-to-left sites #87179
In the Image lightbox on a right-to-left (RTL) site, the Previous button is on the right and the Next button is on the left. The ArrowLeft key always goes to Previous and the ArrowRight key always goes to Next, whatever the text direction.
Expected: ArrowRight shows the same image as the button on the right, and ArrowLeft shows the same image as the button on the left.
Actual: ArrowRight shows the image of the button on the left, and ArrowLeft shows the image of the button on the right.
The Tabs block had the same problem, fixed in #86429.
Step-by-step reproduction instructions
Set the site language to an RTL language, such as Arabic (Settings > General > Site Language).
Publish a post with a Gallery of 3 images and "Expand on click" turned on.
View the post and open the lightbox on the middle image.
Press ArrowRight. It should show the same image as the button on the right shows when clicked.
Press ArrowLeft. It should show the same image as the button on the left shows when clicked.
Activity