Skip to content

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

Merged
morning4coffe-dev merged 7 commits into
masterfrom
dev/doti/wasm-a11y-scroll-range
Oct 23, 2026
Merged

morning4coffe-dev merged 7 commits into
masterfrom
dev/doti/wasm-a11y-scroll-range

Conversation

@morning4coffe-dev

Copy link
Copy Markdown
Member

GitHub Issue: closes #24867

PR Type:

🐞 Bugfix

What changed? 🚀

With accessibility enabled on WebAssembly, every scroll port (ScrollContentPresenter, ScrollPresenter) gets a semantic <div> with overflow: scroll, and its offset is mirrored to and from the XAML scroller. That <div> never had the scroller's geometry, though:

  • Its scroll range came from its semantic children. Anything without a semantic node (a Border, spacing, a Grid full of drawn content…) did not count, so the range usually ended at the last labeled element. When the XAML offset was mirrored, the browser clamped scrollTop, raised a scroll event with the clamped value, and OnScroll pushed it back into the ScrollViewer. In practice you can't scroll to the bottom of a long page once accessibility is on.
  • Children were shifted twice. Semantic children were positioned relative to the scroll port's viewport (the Skia transform already includes the scroll translation), and the native scrollTop then moved them again.

What this PR does:

  • The scroll port's native range now follows the managed extent. An ::before pseudo-element sized through two CSS variables (--uno-scroll-extent-width/height) defines the scrollable area. Being a pseudo-element, it doesn't interfere with the index-based insertion of semantic children. Native scrollbars are hidden on these elements, so the client area matches the XAML viewport.
  • updateNativeScrollOffsets now receives the extent along with the offsets and applies it first, so the browser never has to clamp.
  • Semantic children of a scroll port are positioned in content coordinates (relative to the scrolled content and its arranged offset), so the native scroll applies the offset exactly once.
  • ScrollViewer.UpdateDimensionProperties now raises the scroll pattern events when the extent or viewport changes, mirroring ScrollViewer::InvalidateScrollInfo_TryUpdateValues in WinUI. Before, only offset changes were raised, so content growing or shrinking never reached the semantic DOM.
  • Scroll events that only echo our own sync are ignored: the position the browser settles at after updateNativeScrollOffsets is remembered and compared exactly. Forwarding those echoes would restart ScrollPresenter animations and complete touch inertia on ScrollContentPresenter. This overlaps with fix(a11y): Don't feed semantic scroll echoes back to ScrollViewer #24597. With the range now matching the extent there's no clamping left to tolerate, so the check can be exact.
  • ScrollPresenter scroll ports are synced too. They were never real native scrollers: the overflow was decided from the peer's scrollability at creation time, before layout. Scroll ports are now always native scroll containers. Browser-initiated scrolls go through ScrollToOffsets, the same non-animated path ScrollPresenterAutomationPeer uses for SetScrollPercent.
  • After a browser-initiated scroll, the clamped ScrollContentPresenter offset is pushed back. This covers semantic children drawn outside the content bounds (e.g. a Canvas child below the canvas), which can still make the native range a bit larger than the XAML one.

Related: #24596, #24597

PR Checklist ✅

🤖 Generated with Claude Code

morning4coffe-dev and others added 2 commits October 20, 2026 11:27
Mirrors ScrollViewer::InvalidateScrollInfo_TryUpdateValues: extent and
viewport changes are now reported to automation clients, not only offset
changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The semantic scroller of a scroll port took its range from its sparse
semantic children, so the browser clamped the mirrored offset and fed
the clamped value back, stopping scrolling before the end.

- size the native scroll range from the managed extent
- position semantic children in content coordinates
- ignore scroll events echoing a managed sync
- sync ScrollPresenter scroll ports as well

Fixes #24867

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 20, 2026 09:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions github-actions Bot added the platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform label Oct 20, 2026
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 23s —— View job


Review summary

Verdict: fix-first (minor). The approach is sound. The managed extent defines the native range through a pseudo-element, the offset is applied once, and the extent/viewport events mirror WinUI. I only read the diff; I did not build or run anything, and the new tests are SkiaWasm-only.

Issues: 0 high, 1 medium, 1 low.

  • Medium (inline): the exact-match scroll echo filter can swallow a genuine user scroll back to the last synced position.
  • Low: the tests use a fixed Task.Delay(100) to wait for a possible echo (When_Semantic_Children_Are_Sparse_Then_Native_Scroll_Range_Matches_Extent). That can pass without proving anything on a slow machine. Prefer waiting on a condition, or asserting the offset stays stable over a few idle cycles.

Cross-cutting notes:

  • Style, braces/tabs and the EventHandler rule look fine.
  • Please add a test for scrolling away and then back to the last synced value, to lock in the echo-filter behavior.
  • The docs and screenshot-compare checklist items are still unchecked.

@unodevops

Copy link
Copy Markdown
Contributor

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

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240297 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_Enumeration.png-dark
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • Examples.png
    • DynamicFont.png-dark
    • DynamicFont.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
  • skia-windows-screenshots: 2458 changed over 2488

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png
    • AnimatedVisualsTestbedPage.png
    • ApplicationViewSizing.png-dark
    • AppWindowClosing.png
    • AppWindowPresenters.png-dark
    • AppXamlDefinedResources.png
    • Attributed_text_Simple.png-dark
    • AuthenticationBroker_Demo.png-dark
    • AutoBorderStretchwithtopmargin.png
    • AutomationPropertiesExtensions_Role.png-dark
    • AutoSuggestBox_Reason.png-dark
    • AutoSuggestBox_Reason.png
    • BasicAutoSuggestBox.png
    • BasicEnability.png-dark
    • BasicThemeResources.png
    • Battery.png-dark
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
    • BorderBottomwithmargins.png-dark
    • BorderBottomwithmargins.png

@Xiaoy312 Xiaoy312 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving: this fixes #24867 for the common case (an unzoomed, vertical ScrollViewer or ScrollView). The findings below can be fixed here or tracked as follow-ups; the medium ones are the ones I'd look at first. All of this comes from reading the code at 7606b02eaf. I haven't run the new runtime tests.

Medium

  1. Zoom brings the bug back.

    • In UpdateNativeScrollOffsets (WebAssemblyAccessibility.cs:1118-1128), the ScrollContentPresenter branch sends the unzoomed ExtentWidth/ExtentHeight, but ScrollContentPresenter.Managed.cs:100,340 clamps offsets against Extent * _zoomFactor.
    • GetRectInSemanticParent also ignores zoom, for both scrollers.
    • Example: ZoomFactor 2, 1000px content, 200px viewport. The managed max offset is 1800 but the native max is 800.
    • Because the browser's clamped position is then stored as the expected echo, the old visible feedback loop becomes a silent mismatch between managed and native.
    • Suggestion: send the scaled extent for both scrollers, scale child rects, and add a test with zoom ≠ 1.
  2. The ScrollViewer.cs change affects every platform, but only a WASM test covers it.

    • The only proof for commit 1 is the last assertion of a WASM-only test.
    • A cross-platform runtime test using AutomationPeer.TestAutomationPeerListener (same pattern as Given_ProgressBar.uno.cs:34-52) would cover it: grow the content, then assert VerticalViewSize/VerticallyScrollable are raised.
    • It would also help to cite the // MUX Reference for the InvalidateScrollInfo_TryUpdateValues parity.
  3. The code doesn't agree on what counts as a scroll port.

    • RegisterAsScrollPort is public. GetRectInSemanticParent and the forced-scroller block act on any IsScrollPort, but UpdateNativeScrollOffsets and OnScroll only handle ScrollContentPresenter and ScrollPresenter.
    • A third-party scroll port therefore gets content coordinates without anything applying the scroll offset.
    • One internal scroll-port geometry accessor, implemented by the scrollers, with a fallback to the old transform path, would fix this and the TODO (DOTI) type switch together.
  4. Every scroll port is now a native scroller on both axes (WebAssemblyAccessibility.cs:2177-2183).

    • This ignores ScrollMode=Disabled: a ScrollView with horizontal scroll disabled could be scrolled horizontally from the browser. Worth a test that sets scrollLeft and asserts HorizontalOffset stays 0.
    • Recent Chrome makes a scroll container with no focusable children a keyboard tab stop. Please check the tab order.
    • Setting horizontal and vertical overflow from IScrollProvider scrollability would avoid both problems; the *ScrollableProperty changes are already listened to.
  5. Per-frame cost with accessibility on.

    • Each updateNativeScrollOffsets call does classList.add, two setProperty calls, writes the offsets, then reads them back. That read forces a synchronous layout on every animation or inertia frame.
    • The --uno-scroll-extent-* variables inherit, so an extent change restyles the whole semantic subtree.
    • A single layout pass can trigger up to six identical syncs, one per ScrollPattern property (WebAssemblyAccessibility.cs:2622-2635).
    • Suggestions: skip writes when nothing changed (cache in the existing WeakMap), merge the syncs into one per frame, and use @property { inherits: false } or a dedicated sizer element.
  6. The tests don't cover why the echo filter exists.

    • The filter is there to avoid cancelling animations and inertia, but no test checks that. An animated ChangeView with accessibility on, asserting the final offset is reached, would cover it.
    • In the first test, the assertion after the extent change only uses WaitForIdle; WaitFor would be more robust.
  7. OnScroll has no logging. It's now a two-way sync point, but it's the only handler in that block called from JS without a trace log (OnInvoke, OnToggle and OnRangeValueChange have one). A trace of requested vs. clamped offsets, plus a debug log when the owner is neither scroller, would make "stuck offset" reports diagnosable.

Questions

  • Which real user or assistive-technology action scrolls the semantic div from the browser side? Wheel is blocked, so that leaves focus scrollIntoView, a screen reader's virtual cursor, and touch. Was this tried with an actual screen reader (NVDA/JAWS on Chrome, VoiceOver) on the #24867 page? The tests set scrollTop directly.
  • Does When_ScrollViewer_Scrolled_Then_Semantic_Children_Stay_In_Content_Coordinates fail on master? A run that fails before the fix and passes after would confirm the double shift.
  • RTL (the sign of scrollLeft), nested scrollers, and virtualized ItemsRepeater/ListView extents: covered or out of scope?
  • #24597 adds overlapping echo and animation suppression. If both merge, which one owns this?

Low

  • The echo filter can drop a real scroll. A user scroll that lands exactly on the last synced position is ignored. This is more likely for ScrollPresenter, which never pushes its offset back. Relatedly, the push-back for a child that hangs past the content only exists for ScrollContentPresenter; test 4 has no ScrollView variant.
  • ScrollViewer.cs:835 uses GetOrCreateAutomationPeer(), while :1319 in the same file uses GetAutomationPeer(). The new call creates a peer during layout for every templated ScrollViewer whenever a listener exists. Please either confirm WinUI does the same or align with :1319.
  • When TrimOverscroll or RecomputeOffsetsFromIntent moves the offset in the same pass, Update() and the new block may both raise the percent events, with different "old" values.
  • The eight old-value property reads in UpdateDimensionProperties run on every arrange, on every platform. They could be done only after ListenerExistsHelper returns true. oldExtent* also duplicates oldSize.
  • Consider overflow-anchor: none on .uno-semantic-scroll-port, so scroll anchoring can't move scrollTop on its own and defeat the exact echo match.
  • Tests:
    • Task.Delay(100) is a timing-based wait; polling that the offset stays put would be sturdier.
    • offsetTop == 400 pins the positioning approach; the child's rect relative to the port would check what assistive technology actually sees.
    • Every test is vertical.
  • Nits:
    • localRect at WebAssemblyAccessibility.cs:822 is now only used in the else branch.
    • The class summary of Given_AccessibleScrollViewer (region role) no longer matches what the class tests.
    • Commit 1's subject could say "scroll automation events".
  • In debug mode, a console.debug for suppressed echoes, missing elements and non-finite extents would help.
  • Debug mode makes the semantic overlay visible, and its scrollbars are now hidden there too. Is that intended?

Info

  • Not caused by this PR, but right next to it: ScrollViewer.cs:818 reads new Size(ExtentWidth, ExtentWidth), so ExtentSizeChanged misses changes that only affect height.
  • Browser-initiated scrolls on a ScrollPresenter now ignore snap points (ScrollTo → ScrollToOffsets). That matches SetScrollPercent and seems intended; it may be worth mentioning in the PR description.
  • Browsers cap element sizes, so a very large virtualized extent will get a truncated native range.
  • No security concerns: the values passed to setProperty are numbers, and the test JS strings are built only from internal values.

Copilot AI balanced review requested due to automatic review settings October 22, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 49s —— View job


Review summary

Verdict: ship, with minor follow-ups. I read the diff at fddabc5c. I did not build or run anything, and the new tests are WASM-only.

The latest commits address most of the earlier review:

  • IScrollPortGeometry replaces the type switch.
  • Zoom is mirrored in both the extent and the child rects.
  • Native overflow follows scrollability on each axis.
  • OnScroll clamps and logs.
  • Old-value reads happen only when a listener exists.
  • @property has inherits: false.
  • The TS side skips unchanged writes.
  • overflow-anchor: none is set.

Issues: 0 high, 0 medium, 2 low. Both are inline:

  • ScrollViewer.cs: changed is computed even with no listener, and GetOrCreateAutomationPeer() is used where :1316 uses GetAutomationPeer().
  • Accessibility.ts: the sync cache stores the requested offsets rather than the clamped ones.

Cross-cutting notes:

  • Not covered by the changes I read, and I haven't confirmed whether tests cover them: RTL (the sign of scrollLeft), a ScrollMode=Disabled axis being scrolled from the browser, and animated ChangeView reaching its final offset with accessibility on.
  • Please add a test that scrolls away and then back to the last synced value.
  • The fixed Task.Delay(100) in the tests should become a condition or stability poll.
  • The docs and screenshot-compare checklist items are still unchecked. The CI screenshot diffs (118 on Linux, 2458 on Windows) look like a baseline or infra issue rather than something this WASM-only change causes, but please verify.
  • Overlap with fix(a11y): Don't feed semantic scroll echoes back to ScrollViewer #24597 on echo suppression: decide which PR owns it.

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

@Xiaoy312 thanks, addressed in fddabc5:

  • Zoom: zoomed extent + zoom-scaled child rects; the port re-syncs on zoom (new test).
  • Scroll ports go through one internal IScrollPortGeometry (SCP + ScrollPresenter), so the type switch / TODO is gone.
  • Axes follow ScrollableWidth/Height > 0 (WinUI's UIA rule, ScrollMode doesn't gate it there); others get overflow: hidden, and browser scrolls are clamped and pushed back for both scrollers.
  • Writes are skipped when unchanged, extent vars are non-inherited, overflow-anchor: none, and the echo filter is one-shot.
  • Added tests for extent-only scroll pattern events (Skia), axis gating and animated ScrollView scrolling; OnScroll logs.
  • GetOrCreateAutomationPeer kept, since WinUI uses it in InvalidateScrollInfo_TryUpdateValues. Tab order is fine: semantic elements always get an explicit tabindex.

The ExtentWidth, ExtentWidth typo is left out here: it changes ListView ScrollIntoView retries, and #23943 already fixes it.

@unodevops

Copy link
Copy Markdown
Contributor

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

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240794 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Examples.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • DynamicFont.png-dark
    • DynamicFont.png
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AppBar_KeyBoard.png-dark
    • ApplicationViewMode.png-dark
    • Application_DispatcherShutdownMode.png-dark
    • AppWindowFeatures.png-dark
    • AppWindowPresenters.png-dark
    • AppWindowTitleBar Properties.png
    • ArcSegment.png-dark
    • Attributed_text_Simple.png-dark
    • AuthenticationBroker_Cancel.png-dark
    • AutoBorderStretchwithbottommargin.png
    • AutoBorderStretchwithrightmargin.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_StructureAndProps.png-dark
    • AutomationProperties_Name.png
    • AutoSuggestBox_Icons.png-dark
    • AutoSizedPathCentered.png
    • AutoSuggestBox_Icons.png
    • AutoSizedTopLeft.png-dark

Copilot AI balanced review requested due to automatic review settings October 22, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 19s —— View job


Review summary

Verdict: ship. I read the new commit 00d2b50b and checked the earlier follow-ups against the current tree. I did not build or run anything, and the new tests are SkiaWasm-only.

Issues: 0 high, 0 medium, 0 low.

New commit:

  • ScrollContentPresenter.ScrollOwner now uses _scroller?.Target. It returns null before an owner is assigned instead of throwing.
  • This is a root-cause fix. A presenter without a templated ScrollViewer is now a valid scroll port.
  • When_ScrollContentPresenter_Has_No_Owner_Then_Semantic_Port_Created covers it.

Earlier feedback:

  • The Task.Delay(100) echo wait is gone. One Task.Delay(50) is left, in the unrelated test at line 198.
  • A test that scrolls away and then back to the last synced value is still missing. The echo filter is one-shot, so the risk is low, but this test would lock that in.
  • RTL (the sign of scrollLeft) has no test yet. Please add one or note it as out of scope.
  • Docs and screenshot-compare checklist items are unchecked. The Linux (118) and Windows (2458) screenshot diffs are identical across both builds. They are unlikely to come from this WASM-only change, but please confirm against master.
  • The CodeQL float-equality notes on OnScroll are harmless. Both values come from Math.Clamp, so exact comparison is correct there. I would dismiss them.

Copilot AI balanced review requested due to automatic review settings October 22, 2026 20:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 18s —— View job


Review summary

Verdict: ship. I read the new commit 696facf2. I did not build or run anything, and the new tests are SkiaWasm-only.

Issues: 0 high, 0 medium, 0 low.

What the commit does:

  • It adds When_Browser_Scrolls_Back_To_Last_Synced_Offset_Then_ScrollViewer_Follows. The test syncs to 300, checks that the echo is ignored, scrolls the browser to 100, then back to 300, and asserts that the ScrollViewer follows. This is the scroll-away-and-back test that earlier reviews asked for. It waits on conditions, not fixed delays.
  • It folds changed into the hasAutomationListener check in ScrollViewer.UpdateDimensionProperties. The comparison no longer runs without a listener. This addresses the earlier low-severity note. GetOrCreateAutomationPeer() is kept, and the earlier reply explains that WinUI does the same.

Remaining notes (non-blocking):

  • RTL (the sign of scrollLeft) has no test. Please add one or note it as out of scope.
  • The Accessibility.ts sync cache still stores the requested offsets, not the post-write clamped ones. This is harmless in practice, and the one-shot echo filter covers it.
  • The docs and screenshot-compare checklist items are unchecked. The Linux (118) and Windows (2458) screenshot diffs are identical across builds, so they are unlikely to come from this WASM-only change. Please confirm against master.
  • The CodeQL float-equality notes on OnScroll can be dismissed. Both values come from Math.Clamp, so exact comparison is correct there.

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

Remaining review notes, as of 696facf:

Automation runtime tests (Skia WASM): 420 passed, 0 failed.

@unodevops

Copy link
Copy Markdown
Contributor

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

Copilot AI balanced review requested due to automatic review settings October 22, 2026 21:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 12s —— View job


Review summary

Verdict: ship. I read the newest commit, afec1b29. I did not build or run anything. The branch checkout has no merge base with origin/master, so I could not diff the whole PR.

Issues: 0 high, 0 medium, 0 low.

New commit:

  • afec1b29 implements IScrollPortGeometry.HorizontalOffset and VerticalOffset explicitly on ScrollContentPresenter. The public getters stay non-virtual, so there is no binary or source-compat change. This matches how the zoomed-extent members next to it are declared.
  • It adds no behavior and no logic changes, and the commit message follows Conventional Commits.

Earlier feedback: nothing new to add to the 696facf review.

  • The scroll-away-and-back test is in place.
  • RTL is declared out of scope.
  • The screenshot diffs match other open PRs.
  • The CodeQL float-equality notes on OnScroll can be dismissed, as already explained.

The docs checklist item is still unchecked. For a WASM accessibility bugfix this is probably fine, so it is your call.

@unodevops

Copy link
Copy Markdown
Contributor

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

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240881 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • DropDownButtonPage.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Examples.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png-dark
    • AppBarButtonTest.png-dark
    • AppBar_KeyBoard.png-dark
    • ApplicationViewSpanningRectsPage.png
    • AppWindowFeatures.png
    • AppXamlDefinedResources.png-dark
    • Attributed_text_Simple.png-dark
    • Attributed_text_Supserscript.png
    • AutoBorderStretchwithrightmargin.png-dark
    • AutoBorderStretchwithrightmargin.png
    • AutoSizedPathCentered.png-dark
    • AutoSizedPathCentered.png
    • AutoSuggestBox_Icons.png-dark
    • AutoSuggestBox_Icons.png
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • Battery.png-dark
    • Battery.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Foreground.png

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 240881 has failed on Uno.UI - CI.

@morning4coffe-dev
morning4coffe-dev merged commit eed8397 into master Oct 23, 2026
51 checks passed
@morning4coffe-dev
morning4coffe-dev deleted the dev/doti/wasm-a11y-scroll-range branch October 23, 2026 07:13
agneszitte added a commit that referenced this pull request Oct 30, 2026
fix(wasm-a11y): Mirror scroll geometry in the semantic DOM (backport #25587)
mikernet pushed a commit to Singulink/uno that referenced this pull request Nov 1, 2026
…noplatform#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)
agneszitte added a commit that referenced this pull request Nov 3, 2026
…6.7/pr-25845

fix(wasm-a11y): Mirror scroll geometry in the semantic DOM (backport #25587) (backport #25845)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WASM] Semantic scroller DOM scroll range and child positions do not match the ScrollViewer when accessibility is enabled

5 participants