Guidepup transcript: experiment/rtl-logical-properties.html — initial
Method: virtual screen reader over a DOM snapshot. Not a real VoiceOver, NVDA, or JAWS test.
- Run: 2026-11-24T00-32-17-199Z
- Source: @uswds/uswds 3.14.0 (npm)
- Git revision: 5ae55174a465533f294c999f181da47d514b2d75
- Browser: 156.0.8078.4
- Viewport: 1280x850
- Page: experiment/rtl-logical-properties.html
- State: initial
- Theme: light/system
- Direction: ltr
Phrases
Simulator limitation: jsdom reported 18 unsupported pseudo-element style request(s). CSS-generated content may be omitted.
- document
- link, Skip to main content
- banner
- link, USWDS Futures Lab Independent research and comparison pilot
- USWDS Futures Lab
- Independent research and comparison pilot
- end of link, USWDS Futures Lab Independent research and comparison pilot
- navigation, Primary
- link, Overview
- link, Evaluate
- link, Components
- link, Experiments, current page
- link, Landing demo
- link, Community ideas
- link, Evidence
- link, Methodology
- end of navigation, Primary
- end of banner
- main
- paragraph
- Alternative implementation · Prototype available
- end of paragraph
- heading, Logical properties for RTL support, level 1
- paragraph
- Replace selected physical left/right styles in the banner and alert with logical properties so right-to-left layouts do not depend on mirrored overrides.
- end of paragraph
- strong
- Review status: pending.
- end of strong
- No human reviewer has recorded a decision.
- Evidence: No automated evidence in this build.
- region, Working demonstration
- heading, Working demonstration, level 2
- paragraph
- link, Evaluate this experiment
- link, Open the registered demonstration
- end of paragraph
- list
- listitem, level 1, position 1, set size 2
- link, Banner
- — baseline and experimental fixtures available.
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, Alert
- — baseline and experimental fixtures available.
- end of listitem, level 1, position 2, set size 2
- end of list
- paragraph
- The evaluation workspace does not mirror keyboard input. Open either implementation independently for keyboard and assistive-technology testing.
- end of paragraph
- end of region, Working demonstration
- region, Proposal and context
- heading, Proposal and context, level 2
- paragraph
- strong
- Status: Prototype. Automated evidence may exist; human review is pending.
- end of strong
- end of paragraph
- paragraph
- strong
- Category:
- end of strong
- Alternative implementation
- strong
- Baseline:
- end of strong
- USWDS v3.14.0
- strong
- Proposal:
- end of strong
- Use logical properties for the banner and alert instead of mirrored physical overrides.
- end of paragraph
- heading, Why this exists, level 2
- paragraph
- USWDS issue
- link, #5336
- remains open. Maintainers asked for a concrete RTL example and LTR compatibility checks. Issue
- link, #6030
- prototyped logical properties for the banner and was consolidated into #5336.
- end of paragraph
- paragraph
- RTL support is not the same as flipping the page. Text direction, language, logical padding, icon placement, focus order, and content order must remain meaningful.
- end of paragraph
- heading, What stable USWDS provides, level 2
- paragraph
- USWDS uses a mix of logical and physical properties. Some components already respond to
- code
- dir="rtl"
- end of code
- , but the alert's accent border and some alignment details need explicit review. The lab does not claim that the whole design system is RTL-ready.
- end of paragraph
- heading, What is proposed, level 2
- paragraph
- The experimental stylesheet:
- end of paragraph
- list
- listitem, level 1, position 1, set size 4
- replaces the alert's physical left border with
- code
- border-inline-start
- end of code
- ;
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- sets
- code
- text-align:start
- end of code
- on accordion and banner buttons;
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- keeps the document's
- code
- lang
- end of code
- and
- code
- dir
- end of code
- separate: direction is not a translation;
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- adds a small sample Arabic paragraph with
- code
- lang="ar" dir="rtl"
- end of code
- to test mixed-direction content.
- end of listitem, level 1, position 4, set size 4
- end of list
- heading, What changed in the lab, level 2
- paragraph
- Only the experimental pane changes. The baseline keeps the official output. The same English fixture content is used in both panes, plus the labelled Arabic sample.
- end of paragraph
- heading, Evidence status, level 2
- paragraph
- Automated evidence covers
- code
- ?dir=rtl
- end of code
- on the banner and alert fixtures, computed
- code
- text-align
- end of code
- and border sides, and the mixed-direction sample. Native-language review is outstanding. The decision record is pending.
- end of paragraph
- heading, Known limitations, level 2
- list
- listitem, level 1, position 1, set size 4
- The Arabic sample is short and was written for direction testing; a native speaker has not reviewed it.
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- This is not a translation or a full localization implementation.
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- The lab does not test every USWDS component or browser bidi algorithm edge case.
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- Icon mirroring, focused-element placement, and long mixed-direction forms need further work.
- end of listitem, level 1, position 4, set size 4
- end of list
- end of region, Proposal and context
- region, Implementation guidance
- heading, Implementation guidance, level 2
- heading, CSS, level 2
- code
- .usa-alert { border-left: 0 !important; border-right: 0 !important; border-inline-start: 8px solid var(--fx-info-edge) !important; text-align: start; } .usa-alert--warning { border-inline-start-color: var(--fx-warn-edge) !important; } .usa-alert--error { border-inline-start-color: var(--fx-error-edge) !important; } .usa-accordion__button, .usa-banner__button, .usa-banner__header-text, .usa-banner__header-action { text-align: start; }
- end of code
- paragraph
- code
- border-inline-start
- end of code
- resolves to
- code
- border-left
- end of code
- in
- code
- ltr
- end of code
- and
- code
- border-right
- end of code
- in
- code
- rtl
- end of code
- . The physical
- code
- border-left
- end of code
- /
- code
- border-right
- end of code
- declarations are removed so the two rules cannot disagree.
- end of paragraph
- heading, Direction and language, level 2
- paragraph
- code
- site/assets/fixture.js
- end of code
- sets
- code
- dir
- end of code
- from
- code
- ?dir=rtl
- end of code
- and only sets
- code
- lang="ar"
- end of code
- when explicitly requested with
- code
- ?lang=ar
- end of code
- . The banner fixture includes:
- end of paragraph
- code
- <p lang="ar" dir="rtl">معلومات الخدمة …</p>
- end of code
- paragraph
- The inline
- code
- lang
- end of code
- and
- code
- dir
- end of code
- keep the sample from changing the language of the surrounding English page. Do not set
- code
- dir="rtl"
- end of code
- on an English page and call that localization.
- end of paragraph
- heading, How to test, level 2
- list
- listitem, level 1, position 1, set size 6
- code
- fixture/banner-experiment.html?dir=rtl
- end of code
- end of listitem, level 1, position 1, set size 6
- listitem, level 1, position 2, set size 6
- code
- fixture/alert-experiment.html?dir=rtl
- end of code
- end of listitem, level 1, position 2, set size 6
- listitem, level 1, position 3, set size 6
- code
- compare.html?component=banner&direction=rtl
- end of code
- end of listitem, level 1, position 3, set size 6
- listitem, level 1, position 4, set size 6
- Inspect computed
- code
- text-align
- end of code
- ,
- code
- border-left-width
- end of code
- , and
- code
- border-right-width
- end of code
- .
- end of listitem, level 1, position 4, set size 6
- listitem, level 1, position 5, set size 6
- Tab through the banner: the disclosure button and focus ring should remain visible.
- end of listitem, level 1, position 5, set size 6
- listitem, level 1, position 6, set size 6
- Confirm the Arabic sample has
- code
- lang="ar"
- end of code
- and
- code
- dir="rtl"
- end of code
- .
- end of listitem, level 1, position 6, set size 6
- end of list
- heading, What a real contribution would need, level 2
- list
- listitem, level 1, position 1, set size 5
- A component-by-component audit of physical properties.
- end of listitem, level 1, position 1, set size 5
- listitem, level 1, position 2, set size 5
- Native-language review and longer mixed-direction content.
- end of listitem, level 1, position 2, set size 5
- listitem, level 1, position 3, set size 5
- LTR regression screenshots and tests.
- end of listitem, level 1, position 3, set size 5
- listitem, level 1, position 4, set size 5
- Documentation of where logical properties cannot be used because of upstream constraints.
- end of listitem, level 1, position 4, set size 5
- listitem, level 1, position 5, set size 5
- A decision about icon mirroring and focus placement.
- end of listitem, level 1, position 5, set size 5
- end of list
- heading, Known gaps, level 2
- list
- listitem, level 1, position 1, set size 3
- No native Arabic review.
- end of listitem, level 1, position 1, set size 3
- listitem, level 1, position 2, set size 3
- No full page translation.
- end of listitem, level 1, position 2, set size 3
- listitem, level 1, position 3, set size 3
- No visual regression baseline; the lab records screenshots and computed properties.
- end of listitem, level 1, position 3, set size 3
- end of list
- end of region, Implementation guidance
- region, Evidence and limitations
- heading, Evidence and limitations, level 2
- paragraph
- No automated evidence in this build.
- end of paragraph
- paragraph
- link, Open the evidence index
- for transcripts, screenshots, axe observations, and coverage gaps.
- end of paragraph
- paragraph
- Automated evidence is not human approval. The decision record remains authoritative.
- end of paragraph
- end of region, Evidence and limitations
- region, Related USWDS history
- heading, Related USWDS history, level 2
- list
- listitem, level 1, position 1, set size 2
- link, #5336 Logical properties for multilingual support
- (motivation)
- end of listitem, level 1, position 1, set size 2
- listitem, level 1, position 2, set size 2
- link, #6030 Banner logical properties
- (consolidated-prototype)
- end of listitem, level 1, position 2, set size 2
- end of list
- end of region, Related USWDS history
- region, Experiment files
- heading, Experiment files, level 2
- list
- listitem, level 1, position 1, set size 4
- link, README
- end of listitem, level 1, position 1, set size 4
- listitem, level 1, position 2, set size 4
- link, Implementation
- end of listitem, level 1, position 2, set size 4
- listitem, level 1, position 3, set size 4
- link, Test plan
- end of listitem, level 1, position 3, set size 4
- listitem, level 1, position 4, set size 4
- link, Decision record
- end of listitem, level 1, position 4, set size 4
- end of list
- paragraph
- AI assistance disclosed by the contributor: issue research, initial CSS, test scaffolding, documentation drafting. A human reviewer must assess the evidence before any upstream proposal.
- end of paragraph
- end of region, Experiment files
- end of main
- contentinfo
- paragraph
- MIT-licensed comparison code. USWDS and third-party assets keep their own licensing terms. This lab is independent of GSA, USWDS, OGDS, and CivicActions.
- end of paragraph
- paragraph
- link, Methodology, provenance and governance
- ·
- link, Evidence
- ·
- link, Source lock
- end of paragraph
- end of contentinfo
- end of document
Limits
- Guidepup is a simulator over the DOM; CSS-only differences (including dark appearance) are not represented in speech.
- Axe and browser assertions are separate evidence. A transcript difference is not automatically a regression.
- Real assistive-technology testing remains outstanding.