Skip to content

fix(wasm-a11y): Mirror scroll geometry in the semantic DOM (backport #25587) (backport #25845) - #25951

Merged
agneszitte merged 4 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-25845
Nov 3, 2026
Merged

agneszitte merged 4 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-25845

Conversation

@mergify

@mergify mergify Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: backport of #25587 (closes #24867 on 6.8)

PR Type:

🐞 Bugfix

What changed? 🚀

Manual backport of #25587 to servicing/6.8. Mergify's cherry-pick can't be used: 6.8 lacks several later master refactors, so 4 files conflicted. The changes match the original PR, with these 6.8 adjustments:

  • UpdateNativeScrollOffsets keeps the 6.8 JS namespace (Uno.UI.Runtime.Skia.Accessibility).
  • ScrollContentPresenter keeps 6.8's !__CROSSRUNTIME__ && !IS_UNIT_TESTS condition on ICustomClippingElement.
  • ScrollPresenter keeps 6.8's _borderRenderer field. The InteractionTracker accessor from master's context isn't brought over.
  • The test ScrollPatternListener drops two IAutomationPeerListener members that don't exist on 6.8.

PR Checklist ✅

…25587)

Manual port to servicing/6.8. Conflicts resolved:
- JSImport namespace kept as Uno.UI.Runtime.Skia.Accessibility (6.8 naming).
- ScrollContentPresenter keeps the 6.8 `!IS_UNIT_TESTS` condition on ICustomClippingElement.
- ScrollPresenter keeps 6.8's _borderRenderer field.
- Test listener drops IAutomationPeerListener members that 6.8 doesn't have.

(cherry picked from commit eed8397)
(cherry picked from commit 290febf)
InteractionTracker.TryUpdatePositionWithAnimation is not implemented on
servicing/6.8, so animated ScrollView.ScrollTo throws and the test can never
pass. The feature it guards (ScrollPresenter animation echo) can't occur there.

(cherry picked from commit d3b0d25)
The 6.8 version of this test file already had it; without it the backported tests don't compile on 6.7 (CS0246 for AutomationPeer, AutomationEvents, IAutomationPeerListener).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@agneszitte
agneszitte merged commit a51b2ef into release/stable/6.7 Nov 3, 2026
42 of 46 checks passed
@agneszitte
agneszitte deleted the mergify/bp/release/stable/6.7/pr-25845 branch November 3, 2026 03:01
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.

3 participants