Skip to content

Run relevant a11y test cases for RTL layout direction - #3345

Open
janinadavydova wants to merge 1 commit into
jb-mainfrom
davydova/run-relevant-accessibility-tests-for-RTL
Open

Run relevant a11y test cases for RTL layout direction#3345
janinadavydova wants to merge 1 commit into
jb-mainfrom
davydova/run-relevant-accessibility-tests-for-RTL

Conversation

@janinadavydova

Copy link
Copy Markdown

Proposed Changes

Issues Fixed

Fixes: CMP-10665 iOS: Add RTL accessibility order smoke tests
Selected relevant a11y test cases that are worth to run for RTL and parametrised tests.

Release Notes

N/A

@janinadavydova janinadavydova changed the title Run relevant a11y test cases for RTL Run relevant a11y test cases for RTL layout direction Aug 27, 2026
UITraitEnvironmentLayoutDirectionRightToLeft
)

private fun runInBothLayoutDirections(

@ASalavei Andrei Salavei (ASalavei) Aug 27, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's sounds too long, but let's call it runUIKitInstrumentedTestInBothLayoutDirections 😶‍🌫️

}
}

private fun AccessibilityTestNode.linkNodesInTraversalOrder(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm... that sound interesting. Can we adjust the node() API to make it universal - like this:

node(layoutDirection = layoutDirection) {
    node {}
    node {}
}

And the node just adds nodes in the correct direction. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants