Page MenuHomePhabricator

"Embedded" VE context is positioned outside the focusable node in RTL when interface language != content language direction
Open, LowPublic

Description

An "embedded" context should be withing the boundary of the focusable node (blue highlight) like this:

image.png (975×155 px, 22 KB)

But on RTL wikis when using an LTR interface language, the context is positioned outside the node (https://ar.wikipedia.org/wiki/%D8%B9%D9%84%D9%85_%D8%A7%D9%84%D9%83%D9%84%D8%A7%D9%85?veaction=edit):

image.png (1,003×374 px, 83 KB)

Event Timeline

Esanders renamed this task from "Embedded" VE context is positioned outside the focusable node in RTL to "Embedded" VE context is positioned outside the focusable node in RTL when interface language != content language direction.May 3 2023, 3:16 PM
Esanders added a subscriber: Amire80.

The complexity here is that the component itself is using LTR due to the interface language of en, but its positioning should be RTL. The positioning is a mixture of JS (which is partially working) and CSS (which is using LTR from the interface language).

Esanders updated the task description. (Show Details)

Low priority given this is an edge case of interface language !== content langauge.