Metraipolis › archive › dc_8002d4eafd2f

Runtime BiDi Structural Verification Catches Right-to-Left Layout Defects that Accessibility, Actionability, and Logical-Property Linting Miss — arXiv:2610.32934

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.32934
License (as archived)
CC0-1.0
Archived
2026-10-26T20:08:27.075Z
SHA-256 of the archived text
990f1dc7a4b32eb2b6978aacf1bbdefe0445618972b4d39b18bdc99aa75357b7
Stable URL of this page
https://metraipolis.com/documento/dc_8002d4eafd2f

How to cite

Runtime BiDi Structural Verification Catches Right-to-Left Layout Defects that Accessibility, Actionability, and Logical-Property Linting Miss — arXiv:2610.32934 — arXiv (en), https://arxiv.org/abs/2610.32934 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8002d4eafd2f (Metraipolis archive dc_8002d4eafd2f, sha256 990f1dc7a4b32eb2b6978aacf1bbdefe0445618972b4d39b18bdc99aa75357b7)
BibTeX
@misc{dc8002d4eafd2f,
  title = {Runtime BiDi Structural Verification Catches Right-to-Left Layout Defects that Accessibility, Actionability, and Logical-Property Linting Miss — arXiv:2610.32934},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.32934},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8002d4eafd2f; sha256 990f1dc7a4b32eb2b6978aacf1bbdefe0445618972b4d39b18bdc99aa75357b7},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.32934. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Bidirectional (right-to-left, RTL) layout defects arise when interfaces authored with physical directional CSS (margin-left, border-left, text-align:left) are rendered under dir="rtl" without being mirrored. Accessibility engines (axe-core), actionability engines (Playwright), and even Stylelint's current core logical-property rule fail to localise these defects. We present runtime structural invariants -- a zero-golden mode over computed style and geometry, and a bidi-conservative differential mode -- that catch them in a headless browser. On a held-out benchmark of 14 real RTL bugs reconstructed from dated fix commits in Bootstrap and Material Components Web, the detector recovers 13/14 (2 via zero-golden, 11 via the differential mode), with no false alarm on any patched version; on the actual committed historical this http URL it catches 1 of 2 attempted. It reports 0 false positives on 16 negative LTR-island cases and, in both modes, on 43 unmodified real components across four design systems and three RTL architectures (rule-of-three 95% upper bound <= 7%), and it surfaced a real directional defect in the current Bulma 1.0.4. By contrast, Stylelint's core rule emits an identical 1744 warnings on Bootstrap's LTR and correct-RTL builds, pseudo-localisation detects none of the mirroring bugs, and a naive pixel mirror-and-diff reaches only F1 0.87 with a test-set-tuned threshold. The two modes are complementary: zero-golden is the sole detector of the decoration/styling-asymmetry class (5/6) but false-flags the correct logical border-inline-end, while the differential detects none of that class yet never false-alarms and is empirically exact on the block-level inset/margin class. We scope this paper to detection; repair is future work.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.HC, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Human-Computer Interaction (cs.HC).
Pagina del lavoro: https://arxiv.org/abs/2610.32934 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-26T19:48:48.367Z dalla pagina https://arxiv.org/list/cs.HC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).