Skip to content

feat(a11y): WinUI-parity accessibility fixes for Skia (Win32/macOS/WASM) - #23722

Merged
morning4coffe-dev merged 25 commits into
masterfrom
dev/doti/a11y-parity-remediation-impl
Sep 8, 2026
Merged

morning4coffe-dev merged 25 commits into
masterfrom
dev/doti/a11y-parity-remediation-impl

Conversation

@morning4coffe-dev

@morning4coffe-dev morning4coffe-dev commented Jul 10, 2026 •

Copy link
Copy Markdown
Member

Accessibility/automation parity fixes vs WinUI 3, focused on the Skia backends (Win32 UIA, macOS NSAccessibility, WebAssembly ARIA) and the shared automation-peer core. Each change was verified against the WinUI 3 source and validated at runtime (FlaUI UIA probes on Win32, Playwright DOM assertions on a published WASM head, and runtime tests).

Shared core

  • Wire RaiseNotificationEvent on Skia; map missing control roles + menu haspopup.
  • Throw ElementNotEnabled on disabled pattern actions; route RaiseStructureChangedEvent to the listener.
  • Force-promote landmark elements into the UIA tree; resolve EventsSource in shared routing.
  • Implement RaiseTextEditTextChangedEvent (was a stub).

Win32 (UIA)

  • Raise WinUI-faithful ChildAdded/ChildRemoved (per-child, bulk thresholds, symmetric add/remove cancel-out, skip collapsed).
  • Serve DescribedBy/ControllerFor/FlowsTo/FlowsFrom, IsPeripheral, Culture, ClickablePoint, and Annotations.
  • Raise WindowOpened/WindowClosed and LayoutInvalidated (AutoSuggestBox); correct two miskeyed UIA event IDs.

macOS (NSAccessibility)

  • Expose AutomationId as accessibilityIdentifier; keep radio/tab AXValue in sync.
  • Advertise scrollbar increment/decrement; post a structural refresh on tree add/remove.

WebAssembly (ARIA)

  • Fix name-prohibited role=generic + double naming; enforce aria-labelledby precedence over aria-label.
  • Gate relation IDREFs on semantic-node existence.

Adds runtime tests and SamplesApp samples; macOS-only behavior has a verification guide under specs/004-a11y-parity-remediation/.

Ready for review. The source/runtime reconciliation and follow-up corrections are documented in specs/004-a11y-parity-remediation/plan.md.

Win32 UIA bridge (second parity pass)

  • Forward every WM_GETOBJECT object id to UiaReturnRawElementProvider so MSAA clients are served by the UIA bridge; flush the UIA hwnd map on window destroy.
  • Translate text-range children into COM providers, and return the UIA reserved not supported value for unimplemented text attributes.
  • Drop 14 stale/duplicate WASM accessibility [JSImport] declarations.

Copilot AI lite review requested due to automatic review settings July 10, 2026 14:29
@github-actions github-actions Bot added platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Jul 10, 2026
@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 13m 36s —— View job


Claude Code Review — PR #23722

Verdict: fix-first — one inline suggestion on new code, four pre-existing defects noted below. The PR's core accessibility work (UIA StructureChanged coalescing, ElementNotEnabledException HRESULT, landmark promotion, ARIA relation attributes, Notification/TextEditTextChanged wiring) is well-structured and correct. The issues below are actionable before merge.


Inline comments posted

# File Line Severity Issue
1 AutomationPeer.partial.mux.cs 649 Medium AutomationPeer child → AutomationPeer? child — new guard && child is null acknowledges null is valid for all non-ChildRemoved types, but the non-nullable annotation forces null! suppressors on every such caller (incl. Given_StructureChangedEvent.cs:50). Code suggestion attached.

Pre-existing defects surfaced by this review

These exist in the base branch (not introduced by this PR), so inline comments could not be anchored to diff lines. They are recorded here for the author to address in a follow-up.

# File Line Severity Issue
2 Win32RawElementProvider.cs 60 High _runtimeId = _nextRuntimeId++ is a non-atomic read-modify-write on a shared static. UIA COM delivers calls on a background thread (ProviderOptions.UseComThreading), so two providers created concurrently can get the same runtime ID. Fix: _runtimeId = Interlocked.Increment(ref _nextRuntimeId).
3 MacOSAccessibility.cs 157, 186 Medium OnNativeIncrement / OnNativeDecrement call rangeProvider.SetValue(newValue) without checking IsEnabled. OnNativeInvoke at line 83 already guards with if (owner is Control { IsEnabled: false }) return; — the same guard is missing from the increment/decrement callbacks, allowing VoiceOver to adjust a disabled slider or scrollbar.
4 Win32Accessibility.cs 906–908 Low Dead if (target is null) in NotifyNotificationEvent. _rootProvider is private readonly Win32RawElementProvider (non-nullable); the initial IRawElementProviderSimple? target = _rootProvider; is therefore always non-null, and the null guard can never fire. Remove or replace with an else block assigning only the optional element-specific provider.
5 Win32RawElementProvider.cs 991–1004 Low FindParentProvider() has two stacked /// <summary> XML doc blocks. The first block (lines 991–998) describes the peer-tree walk; the second (lines 999–1004) describes the inner-pane promotion. Merge them into one <summary>.

Cross-cutting observations (no blocking issue)

  • FlushStructureChanges bulk threshold asymmetry — the early-exit uses total > BulkChildrenLimit (strict greater-than) while the per-type checks use >= BulkChildrenLimit. With exactly 20 changes of a single type the per-type branch fires (ChildrenBulkAdded/Removed), but with 20 mixed changes both per-type checks fail and 20 individual events are emitted. This is likely intentional (matches WinUI's AP_BULK_CHILDREN_LIMIT logic), but worth a comment confirming the boundary semantics.
  • ElementNotEnabledException HResult — correctly assigns 0x80040200 (UIA_E_ELEMENTNOTENABLED) in all three constructors. This is the right way to surface it to UIA COM clients.
  • LandmarkTargetAutomationPeer — correct internal partial, AutomationControlType.Group, and classname "LandmarkTarget" matching WinUI.
  • Test coverage — new Given_StructureChangedEvent, Given_DisabledActionException, Given_NotificationEvent, Given_TextEditTextChangedEvent, Given_LandmarkPromotion, Given_AutomationRelations, Given_WasmAria* provide good per-feature coverage. Tests are async Task where they await, void where they don't — consistent with the runtime-tests.md rule.
  • WASM SemanticElementFactory — aria-label suppression when aria-labelledby is present (WA-04) and IDREF gating on HasSemanticElement (WA-02) are both correct WAI-ARIA 1.2 practice.

Validation: Code review by diff inspection only. Runtime validation was not performed in this environment; maintainers should run /runtime-tests Given_StructureChangedEvent,Given_DisabledActionException,Given_NotificationEvent on Skia Desktop before merging.

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.

Pull request overview

This PR applies WinUI-3 parity fixes to Uno’s accessibility stack with a focus on Skia backends (Win32 UIA, macOS NSAccessibility, Skia-WASM ARIA/semantic DOM) and shared automation-peer plumbing, plus adds targeted runtime tests and SamplesApp demos to validate the new behavior.

Changes:

  • Shared automation-peer improvements: landmark promotion for non-controls, wire RaiseNotificationEvent/RaiseTextEditTextChangedEvent, route RaiseStructureChangedEvent via the listener, and align disabled pattern actions with ElementNotEnabledException (correct HRESULT).
  • Win32 UIA parity: richer property surface (relations, culture, isPeripheral, clickable point, annotations), correct event IDs, add missing UIA events (layout invalidated, window opened/closed), and WinUI-faithful structure-changed shaping/coalescing (ChildAdded/ChildRemoved/bulk).
  • macOS + WASM parity: macOS AutomationId → accessibilityIdentifier and structural refresh coalescing; WASM ARIA fixes for name-prohibited role=generic, aria-labelledby precedence over aria-label, and relation IDREF gating to avoid dangling references.

Reviewed changes

Copilot reviewed 45 out of 46 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Uno.UI/UI/Xaml/FrameworkElement.cs Promote landmark-only FrameworkElements into the automation tree via a dedicated peer.
src/Uno.UI/UI/Xaml/Controls/AutoSuggestBox/AutoSuggestBox.cs Raise LayoutInvalidated on suggestion-list changes (UIA client re-reads layout).
src/Uno.UI/UI/Xaml/Automation/Peers/ToggleSwitchAutomationPeer.cs Throw ElementNotEnabledException when toggling a disabled ToggleSwitch.
src/Uno.UI/UI/Xaml/Automation/Peers/ToggleButtonAutomationPeer.cs Throw ElementNotEnabledException when toggling a disabled ToggleButton.
src/Uno.UI/UI/Xaml/Automation/Peers/RepeatButtonAutomationPeer.cs Align disabled invoke behavior with WinUI (ElementNotEnabledException).
src/Uno.UI/UI/Xaml/Automation/Peers/RadioButtonAutomationPeer.cs Throw ElementNotEnabledException when selecting a disabled RadioButton.
src/Uno.UI/UI/Xaml/Automation/Peers/LandmarkTargetAutomationPeer.cs New internal peer used for landmark promotion (reports Group).
src/Uno.UI/UI/Xaml/Automation/Peers/IAutomationPeerListener.cs Add listener hook for TextEdit text-changed events.
src/Uno.UI/UI/Xaml/Automation/Peers/FrameworkElementAutomationPeer.cs Implement culture + expose annotations via proper override.
src/Uno.UI/UI/Xaml/Automation/Peers/ButtonAutomationPeer.cs Throw ElementNotEnabledException when invoking a disabled Button.
src/Uno.UI/UI/Xaml/Automation/Peers/AutomationPeer.partial.mux.cs Route RaiseStructureChangedEvent into the listener (Skia).
src/Uno.UI/UI/Xaml/Automation/Peers/AutomationPeer.cs Wire RaiseNotificationEvent + RaiseTextEditTextChangedEvent on Skia; extend Invoke helper to toggle/select.
src/Uno.UI/UI/Xaml/Automation/ElementNotEnabledException.cs Set HRESULT to UIA_E_ELEMENTNOTENABLED (0x80040200) in constructors.
src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Automation.Peers/AutomationPeer.cs Remove generated NotImplemented stub for text-edit event (now implemented elsewhere).
src/Uno.UI/Accessibility/AriaMapper.cs Add missing control-type→role mappings; refine aria-haspopup=menu logic for menu-flyout buttons.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ProgressBar.cs Update test stub listener to satisfy new listener method.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_WasmAriaRelations.cs New WASM test: relation IDREFs only for semantic-node targets.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_WasmAria.cs New WASM tests: named generic promoted to group; aria-labelledby suppresses aria-label.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_TextEditTextChangedEvent.cs New test: TextEditTextChanged event reaches the listener (Skia).
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_StructureChangedEvent.cs New tests: null-child argument validation + listener routing for structure changes.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_NotificationEvent.cs New test: notification event reaches the listener (Skia).
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_LandmarkPromotion.cs New tests: landmark promotion precedence and behavior across platforms.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_DisabledActionException.cs New tests: disabled pattern actions throw with correct HRESULT; native activation helper swallows.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_AutomationRelations.cs New tests: DescribedBy/ControlledPeers are surfaced by peers.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_AutomationPeer_InvalidatePeer.cs Update test listener to satisfy new listener method.
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Automation/Given_AriaMapper.cs New tests: role mappings + haspopup behavior (DropDownButton/SplitButton vs Expander).
src/Uno.UI.Runtime.Skia/Accessibility/SkiaAccessibilityBase.cs Resolve EventsSource before property routing; add TextEdit event hook (no-op base).
src/Uno.UI.Runtime.Skia/Accessibility/AccessibilityRouter.cs Route new TextEdit listener method to the resolved backend.
src/Uno.UI.Runtime.Skia.Win32/Accessibility/Win32UIAutomationInterop.cs Add UIA constants + P/Invokes (clients listening, text edit event), fix miskeyed event IDs.
src/Uno.UI.Runtime.Skia.Win32/Accessibility/Win32RawElementProvider.cs Serve relations, culture/peripheral/clickable point, annotations, and custom-landmark mapping.
src/Uno.UI.Runtime.Skia.Win32/Accessibility/Win32Accessibility.cs WinUI-faithful structure-changed coalescing and new automation event mappings (layout/window/textedit).
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/ts/Runtime/Accessibility.ts Ensure aria-labelledby precedence over aria-label during live updates.
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Accessibility/WebAssemblyAccessibility.cs Promote named role=generic to group to avoid ARIA name-prohibited role.
src/Uno.UI.Runtime.Skia.WebAssembly.Browser/Accessibility/SemanticElementFactory.cs Suppress flattened name when aria-labelledby exists; gate relation IDREFs on semantic-node existence.
src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/UnoNativeMac/UNOAccessibility.m Add accessibilityIdentifier; sync radio AXValue on selection; expose scrollbar inc/dec actions.
src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/UnoNativeMac/UNOAccessibility.h Add unoIdentifier property + native update function declaration.
src/Uno.UI.Runtime.Skia.MacOS/Native/NativeUno.cs Add P/Invoke for updating the macOS accessibility identifier.
src/Uno.UI.Runtime.Skia.MacOS/Accessibility/MacOSAccessibility.cs Coalesce children-changed posts; push AutomationId into native identifier; resolve EventsSource for events.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_StructureAndProps.xaml.cs New sample: dynamic structure changes, annotations, layout invalidated, text-edit event raising.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_StructureAndProps.xaml New sample UI for structure/property/event probes.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_Relations.xaml.cs New sample: set DescribedBy/ControlledPeers in code-behind.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_Relations.xaml New sample UI for relation properties.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_Landmark.xaml.cs New sample: landmark promotion scenarios.
src/SamplesApp/SamplesApp.Samples/Windows_UI.Xaml_Automation/AutomationProperties_Landmark.xaml New sample UI demonstrating landmarks.
specs/004-a11y-parity-remediation/plan.md Detailed remediation plan capturing findings, parity rationale, and validation notes.
specs/004-a11y-parity-remediation/macos-verification.md macOS-only verification steps for changes not runtime-testable on Windows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings July 10, 2026 15:30
@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

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


Review — WinUI parity accessibility fixes (PR #23722)

Verdict: ship — the PR's own new code is correct. One low-severity cosmetic fix is suggested inline. Three pre-existing defects were surfaced during the review and are catalogued below for follow-up tracking; they were present in master before this branch and are not regressions introduced here.


Inline findings (new code in this PR)

Sev File Finding
Low Given_StructureChangedEvent.cs:30 null! suppressor on a nullable parameter — self-contradictory; plain null compiles cleanly. One-line suggestion posted.

Pre-existing defects (not introduced by this PR — track separately)

These were present in master before this branch. GitHub inline comments cannot be anchored to lines outside the diff, so they are listed here only.

Sev File Defect
High Win32RawElementProvider.cs:60 _runtimeId = _nextRuntimeId++; — non-atomic read-modify-write on a static int field accessed from the COM-thread UIA callbacks. Should be Interlocked.Increment(ref _nextRuntimeId). A race here corrupts provider identity, causing Narrator to lose track of elements or double-count them under concurrent UIA activity.
Medium MacOSAccessibility.cs:157,186 OnNativeIncrement / OnNativeDecrement callbacks (introduced in master commit 496158c9) are missing the IsEnabled guard that OnNativeInvoke (line 83) carries. A VoiceOver scroll on a disabled element can fire the action; the guard prevents the WinUI ElementNotEnabledException throw that accessibility clients expect.
Low Win32RawElementProvider.cs:991 Duplicate stacked /// <summary> XML doc blocks on FindParentProvider().
Low Win32Accessibility.cs:~907 Dead null check: target (IRawElementProviderSimple?) is always non-null at that call site because the enclosing code assigns it from a non-nullable source — the if (target is null) return branch can never fire.

Recommended follow-up: file a separate issue for the Interlocked.Increment race (High) so it is addressed independently on master.


Core implementation assessment

Area Assessment
Win32Accessibility.cs — StructureChanged coalescing Correct. The Removed+Added cancellation (by (child, container) key with UIElement identity, commit d0b4076b) faithfully matches WinUI's AutomationEventsHelper behaviour. Bulk threshold (BulkChildrenLimit = 20) is right.
Win32Accessibility.cs — NotifyTextEditTextChangedEvent Correct. The AutoCorrect/Composition/CompositionFinalized-only filter mirrors WinUI's CUIAWindow::UIARaiseTextEditTextChangedEvent; None correctly suppresses.
MacOSAccessibility.cs — QueueChildrenChanged Correct coalescing pattern: _childrenChangedPostQueued debounces multiple rapid updates into one Main dispatch, preventing VoiceOver churn.
SemanticElementFactory.cs — WA-02/WA-04 Correct. aria-labelledby takes precedence over aria-label at element-create time; IDREF gating via HasSemanticElement() prevents dangling references.
Accessibility.ts — updateAriaLabel/updateAriaLabelledBy Correct. Both sides of the exclusion (set one → clear other) are handled.
LandmarkTargetAutomationPeer.cs Missing #nullable enable (new file, code-style rule). Otherwise correct: inherits FrameworkElementAutomationPeer, returns Group control type, GetClassNameCore returns "LandmarkTarget".
ElementNotEnabledException.cs Correct. HRESULT 0x80040200 (UIA_E_ELEMENTNOTENABLED) set in all three constructors.
AutomationPeer.partial.mux.cs — RaiseStructureChangedEvent Correct after commit 2dc1594e. Parameter is now AutomationPeer? and ChildRemoved-with-null guard throws ArgumentNullException as required.

Validation evidence (by inspection): Code review only. Compile and runtime validation evidence is not available in this context; the /runtime-tests skill against the Given_StructureChangedEvent and Given_AutomationPeer classes is the recommended next step before final merge.


Review by Claude — claude-sonnet-4-6. Pre-existing defects were not introduced by this PR.

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.

Pull request overview

Copilot reviewed 44 out of 45 changed files in this pull request and generated 9 comments.

@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings July 11, 2026 21:18
@morning4coffe-dev
morning4coffe-dev marked this pull request as ready for review July 11, 2026 21:19
@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 11m 28s —— View job


Claude Code Review — PR #23722

Verdict: ship — both prior inline suggestions have been addressed (nullable child parameter fixed in 2dc1594e; null! suppressor fixed). One new cosmetic inline suggestion posted. Four pre-existing defects remain and warrant a separate follow-up issue.


Inline findings (new code in this PR)

Sev File Issue
Low Given_StructureChangedEvent.cs:68 LastPeer / LastChild declared as non-nullable but default to null; latent CS8618 if #nullable enable is added. Suggestion posted.
Low Given_StructureChangedEvent.cs:72 RecordingListener.NotifyStructureChangedEvent declares AutomationPeer child (non-nullable) while the interface specifies AutomationPeer? child; latent CS8769 mismatch. Suggestion posted.

Pre-existing defects (in master before this branch — track separately)

These exist in the base branch, not introduced by this PR. They are carried forward through the modified files and are noted here for completeness since prior reviews also flagged them.

Sev File Defect
High Win32RawElementProvider.cs:60 _runtimeId = _nextRuntimeId++ — non-atomic read-modify-write on a shared static. UIA COM arrives on a background thread (ProviderOptions.UseComThreading), so two providers created concurrently can get the same runtime ID. Fix: Interlocked.Increment(ref _nextRuntimeId).
Medium MacOSAccessibility.cs:157,186 OnNativeIncrement / OnNativeDecrement are missing the IsEnabled guard that OnNativeInvoke (line 83) already carries. VoiceOver can adjust a disabled slider or scrollbar via these callbacks; the fix is a single if (owner is Control { IsEnabled: false }) return; guard. Since this PR already modifies the file and explicitly registers these callbacks via uno_accessibility_set_range_callbacks, it's a low-cost fix to include here.
Low Win32Accessibility.cs:970 Dead if (target is null) guard in NotifyNotificationEvent: target is initialized from _rootProvider (non-nullable field) and immediately overwritten only if a matching provider exists — the null branch can never fire.
Low Win32RawElementProvider.cs:991-1004 Stacked duplicate /// <summary> XML doc blocks on FindParentProvider(); merge into one.

New code assessment

Area Assessment
Win32Accessibility.cs — NotifyStructureChangedEvent (new override) Correct. ExplicitType field on PendingStructureChange preserves app-raised event types through the coalescing path; explicit changes bypass the bulk-threshold grouping and are raised directly.
Win32Accessibility.cs — FlushStructureChanges with explicit path Correct. Two-pass grouping (explicit first, then thresholded) faithfully reflects WinUI semantics.
MacOSAccessibility.cs — QueueChildrenChanged Correct. _childrenChangedPostQueued flag coalesces VoiceOver structural refreshes into one per UI tick; IsAccessibilityEnabled guard in the callback protects against a disposed window racing a queued notification.
MacOSAccessibility.cs — automationId → accessibilityIdentifier Correct. Now passes null (not empty string) when AutomationId is absent so the identifier is cleared rather than stale-retained.
WebAssemblyAccessibility.cs — LandmarkTypeProperty live-update Correct. Clearing a landmark from an element now falls through to the base role, preventing a stale landmark role from persisting in the DOM.
WebAssemblyAccessibility.cs — role=generic → role=group (WA-01) Correct. Matches ARIA 1.2 name-prohibited restriction; promotes only when hasAccessibleName is true.
SemanticElementFactory.cs — IDREF gating (WA-02/WA-04) Correct. HasSemanticElement gate prevents dangling IDREFs; LabelledBy suppresses aria-label at creation time.
Accessibility.ts — updateAriaLabel / updateAriaLabelledBy Correct. Both sides of the exclusion are handled (set one → clear other), covering out-of-order live updates.
ElementNotEnabledException HRESULT Correct. UIA_E_ELEMENTNOTENABLED (0x80040200) set in all three constructors.
Test coverage Given_StructureChangedEvent, Given_DisabledActionException, Given_NotificationEvent, Given_TextEditTextChangedEvent, Given_LandmarkPromotion, Given_AutomationRelations, Given_WasmAria*, Given_AriaMapper — good per-feature coverage. Async tests are correctly async Task; sync tests are correctly void.

Validation: Code review by diff inspection. Runtime validation not performed in this environment. Maintainers should run /runtime-tests Given_StructureChangedEvent,Given_DisabledActionException,Given_NotificationEvent,Given_LandmarkPromotion on Skia Desktop before merging.

@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 10m 55s —— View job


PR Review — WinUI-parity accessibility fixes (PR #23722)

Verdict: fix-first — one low-severity inline comment on new code; pre-existing defects from prior reviews are catalogued below but not blocking this PR.


Tasks

  • Load MCP tools
  • Gather context and read key changed files
  • Review shared automation-peer changes (AutomationPeer.partial.mux.cs, AutomationPeer.cs, AutomationPeer.skia.cs, LandmarkTargetAutomationPeer.cs)
  • Review Win32 UIA changes (Win32Accessibility.cs, Win32RawElementProvider.cs)
  • Review macOS accessibility changes (MacOSAccessibility.cs)
  • Review WASM/ARIA changes (SemanticElementFactory.cs, WebAssemblyAccessibility.cs, Accessibility.ts)
  • Review tests and samples
  • Post inline comments for specific findings
  • Update summary comment with verdict

Inline finding (new code in this PR)

Sev File Issue
Low Win32Accessibility.cs:311 Comment says "Collapsed element" but condition is child.Visibility != Visibility.Visible. Since WinUI3's Visibility enum has only Visible and Collapsed, this is functionally equivalent, but expressing it as == Visibility.Collapsed makes the intent explicit and avoids confusion for readers who know WPF's three-value Visibility. Inline comment + suggestion posted.

Pre-existing defects (in master before this branch — follow-up work, not blocking merge)

These were present on master before this PR and were called out in the July 10 review panel. They are repeated here for completeness:

Sev File Defect
High Win32RawElementProvider.cs:60 _runtimeId = _nextRuntimeId++ — non-atomic read-modify-write on a static int accessed from the UIA COM thread (ProviderOptions.UseComThreading). Two providers created concurrently can get the same runtime id, corrupting Narrator's element identity. Fix: Interlocked.Increment(ref _nextRuntimeId). Recommend a follow-up issue.
Medium MacOSAccessibility.cs:~157,186 OnNativeIncrement / OnNativeDecrement (pre-existing) are missing the if (owner is Control { IsEnabled: false }) return; guard that OnNativeInvoke (line 83) carries. VoiceOver can silently adjust a disabled slider/scrollbar.
Low Win32Accessibility.cs:~970 Dead null guard in NotifyNotificationEvent — target is initialised from the non-nullable _rootProvider field and only overridden by a is { } (non-null) pattern match, so if (target is null) return; can never fire.
Low Win32RawElementProvider.cs:991–1004 Duplicate stacked /// <summary> XML doc blocks on FindParentProvider().

Core implementation assessment

Area Assessment
Win32Accessibility.cs — StructureChanged coalescing Correct. Add/remove pair cancellation (by (child, container) key via ReferenceEquals) matches WinUI's AutomationEventsHelper. CleanupProviders correctly scrubs the pending-added entry before the early-return so no stale Added leaks to flush. BulkChildrenLimit = 20 is the right threshold.
Win32Accessibility.cs — NotifyTextEditTextChangedEvent Correct. AutoCorrect/Composition/CompositionFinalized-only filter (via AutomationTextEditChangeType) matches WinUI's filter; routes to provider correctly.
LandmarkTargetAutomationPeer.cs Correct: internal partial class, returns AutomationControlType.Group, GetClassNameCore returns "LandmarkTarget" — matches WinUI.
ElementNotEnabledException.cs Correct. HRESULT 0x80040200 (UIA_E_ELEMENTNOTENABLED) set in all three constructors.
AutomationPeer.partial.mux.cs — RaiseStructureChangedEvent Correct. AutomationPeer? child (nullable), guard throws ArgumentNullException for ChildRemoved-with-null as required.
SemanticElementFactory.cs — WA-02/WA-04 Correct. aria-labelledby suppresses aria-label at create time; IDREF gating via HasSemanticElement() prevents dangling references.
Accessibility.ts — updateAriaLabel/updateAriaLabelledBy Correct. Both sides of the exclusion (set one → clear the other) are handled.
Test files — async/void discipline Consistent with runtime-tests.md rule: tests that await are async Task; synchronous tests are void.
Given_WasmAria / Given_WasmAriaRelations Correctly gated with [PlatformCondition(ConditionMode.Include, RuntimeTestPlatforms.SkiaWasm)].

Validation: Code review by diff inspection. Runtime validation is not available in this environment; maintainers should run /runtime-tests Given_StructureChangedEvent,Given_DisabledActionException,Given_NotificationEvent,Given_TextEditTextChangedEvent,Given_LandmarkPromotion on Skia Desktop before merging.

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.

Pull request overview

Copilot reviewed 45 out of 46 changed files in this pull request and generated 5 comments.

Copilot AI review requested due to automatic review settings July 11, 2026 21:26
@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 8m 38s —— View job


Claude Code Review — PR #23722

Verdict: ship — All issues from the two previous review rounds have been resolved. The PR's own new code is correct and well-structured. One inline consistency suggestion posted on new code (low cosmetic); four pre-existing defects remain and are catalogued below for follow-up tracking.


Issues resolved since the last review

Finding Status
AutomationPeer? child nullable parameter on RaiseStructureChangedEvent ✅ Fixed (2dc1594e)
All test IAutomationPeerListener implementations missing nullable child ✅ Fixed (c097fe26)
null! suppressor in Given_StructureChangedEvent.cs ✅ Fixed (c097fe26)
NotifyStructureChangedEvent now routes all change types faithfully (previous review noted it always raised coarse StructureChanged) ✅ Fixed (c28d2a80)
WASM UpdateLandmark guard preventing null-clear of stale landmark roles ✅ Fixed (c28d2a80)
LandmarkTargetAutomationPeer synthetic Group leaking into DOM for unnamed region/form ✅ Fixed (c28d2a80)

Inline finding on new code

Sev File Finding
Low Win32Accessibility.cs:311 child.Visibility != Visibility.Visible and the CollectEnteringProviders companion check (== Collapsed) are functionally equivalent (Uno's Visibility enum has only Visible and Collapsed), but they read differently from what the comment says. Code suggestion posted to use == Collapsed for explicit consistency with the comment and the companion method.

Pre-existing defects (not introduced by this PR — need separate tracking)

These were present in master before this branch. Inline comments cannot anchor to lines outside the diff, so they are recorded here only.

Sev File Defect
High Win32RawElementProvider.cs:60 _runtimeId = _nextRuntimeId++ — non-atomic read-modify-write on a static int. UIA COM delivers calls on a background thread (ProviderOptions.UseComThreading), so two concurrent provider constructions can get the same runtime ID. Fix: Interlocked.Increment(ref _nextRuntimeId). Recommend filing a separate issue to track this.
Medium MacOSAccessibility.cs:157,186 OnNativeIncrement / OnNativeDecrement call rangeProvider.SetValue(newValue) on a VoiceOver scroll without checking IsEnabled. OnNativeInvoke:83 already carries if (owner is Control { IsEnabled: false }) return; — the same guard is missing from increment/decrement, allowing VoiceOver to adjust a disabled slider or scrollbar.
Low Win32Accessibility.cs:970 Dead null guard in NotifyNotificationEvent: _rootProvider is private readonly Win32RawElementProvider (non-nullable), so IRawElementProviderSimple? target = _rootProvider; is always non-null. The if (target is null) return; branch can never fire.
Low Win32RawElementProvider.cs:991–999 Two stacked /// <summary> blocks on FindParentProvider(). The XML doc toolchain surfaces only the last one; the first (peer-tree walk description) is silently dropped. Merge into a single <summary>.

Core implementation — assessment

Area Assessment
Win32Accessibility.cs — NotifyStructureChangedEvent (new) Correct. Explicit-type path routes app-raised peer events through ExplicitType, bypassing group coalescing — WinUI parity for ChildAdded/ChildRemoved raised by custom peers. ChildRemoved with no resolvable provider falls back to ChildrenInvalidated.
WebAssemblyAccessibility.cs — LandmarkTargetAutomationPeer + landmark live-update Correct. CanExposeLandmarkRole is used consistently for both initial create and property-change paths; the synthetic peer's group role is correctly suppressed when the landmark itself can't be exposed.
Accessibility.ts — updateAriaLabel/updateAriaLabelledBy Correct. Both sides of the exclusion (set one → clear other) are handled and order-independent.
AutomationPeer.cs — InvokeAutomationPeer wrapping Correct. The try/catch on ElementNotEnabledException is scoped precisely to the native-activation path (Android/iOS/Skia-Android); Win32 UIA COM callers go directly to pattern providers and still surface UIA_E_ELEMENTNOTENABLED.
RaiseNotificationEvent / RaiseTextEditTextChangedEvent Correct. #if __SKIA__ guards route to listener; #else falls back to NotImplemented warning. Pattern matches the existing Skia-first scope.
Test coverage All new listener stubs implement the full IAutomationPeerListener interface with correct nullable annotations. Test structure (async Task for awaiting tests, void for sync-only) is consistent with runtime-tests.md.

Validation: Code review by diff inspection. Runtime validation not performed in this environment — run /runtime-tests Given_StructureChangedEvent,Given_NotificationEvent,Given_TextEditTextChangedEvent,Given_LandmarkPromotion on Skia Desktop before merge.

@github-actions

github-actions Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 7m 10s —— View job


Claude Code Review — PR #23722

Reviewing WinUI-parity accessibility fixes for Skia (Win32/macOS/WASM)

  • Load MCP tools
  • Read key changed files
  • Check fixes from previous review rounds
  • Review shared automation-peer core changes
  • Review Win32 UIA changes
  • Review macOS NSAccessibility changes
  • Review WASM ARIA changes
  • Review tests and samples
  • Post inline comments for findings
  • Update summary comment

Verdict: fix-first — one correctness bug in new macOS code, one low-severity cleanup, two pre-existing defects inherited from earlier rounds.

Inline findings (2 posted)

Sev File Finding
Medium MacOSAccessibility.cs:394 OnNativeIncrement / OnNativeDecrement (both new in this PR) are missing the IsEnabled guard that OnNativeInvoke carries. VoiceOver can increment/decrement a disabled Slider or ScrollBar — contradicting the ElementNotEnabledException work that is the core of this PR. Add if (owner is Control { IsEnabled: false }) return; before the range-value call in both callbacks.
Low Win32Accessibility.cs:626 (noted near NotifyNotificationEvent) The if (target is null) return; guard in NotifyNotificationEvent is dead code — target is initialised from the non-nullable private readonly Win32RawElementProvider _rootProvider field and can never be null. Remove to avoid misleading future readers.

Prior-round fixes confirmed

Fixed Detail
✅ RaiseStructureChangedEvent parameter changed to AutomationPeer? child — callers no longer need null!
✅ All test-listener NotifyStructureChangedEvent implementations updated to AutomationPeer? child (Given_ProgressBar, Given_AutomationPeer_InvalidatePeer, Given_NotificationEvent, Given_TextEditTextChangedEvent, Given_StructureChangedEvent)
✅ OnChildAdded visibility check corrected from child.Visibility != Visibility.Visible to child.Visibility == Visibility.Collapsed (commit 73762bfe)

Pre-existing defects (not introduced by this PR — track separately)

Sev File Defect
High Win32RawElementProvider.cs:60 _runtimeId = _nextRuntimeId++ — non-atomic read-modify-write on a static int shared across COM thread UIA callbacks (ProviderOptions.UseComThreading). Should be Interlocked.Increment(ref _nextRuntimeId). Concurrent provider creation can yield duplicate runtime IDs, causing Narrator to lose elements.
Low Win32RawElementProvider.cs:991–999 Duplicate stacked /// <summary> XML doc blocks on FindParentProvider(). Merge into one.

Cross-cutting observations (not blocking)

  • FlushStructureChanges threshold asymmetry (total > BulkChildrenLimit strict vs. per-type >= BulkChildrenLimit) is intentional WinUI parity — a clarifying comment confirming the boundary semantics would help future maintainers.
  • WASM SemanticElementFactory — aria-labelledby precedence over aria-label (WA-04) and IDREF gating via HasSemanticElement (WA-02) are correct WAI-ARIA 1.2 practice.
  • LandmarkTargetAutomationPeer — internal partial, AutomationControlType.Group, classname "LandmarkTarget" all match WinUI. File is missing #nullable enable (new file, code-style rule).
  • Test coverage — new Given_StructureChangedEvent, Given_DisabledActionException, Given_NotificationEvent, Given_TextEditTextChangedEvent, Given_LandmarkPromotion, Given_AutomationRelations, Given_WasmAria* provide solid per-feature coverage. Async methods are async Task; synchronous tests are plain void — consistent with runtime-tests.md.

Validation: Code review by diff inspection. Runtime validation not performed in this environment — maintainers should run /runtime-tests Given_StructureChangedEvent,Given_DisabledActionException,Given_NotificationEvent on Skia Desktop before merging.

@github-actions

github-actions Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 4m 57s —— View job


Claude Code Review — PR #23722

Verdict: fix-first — 1 new finding (test platform-gating gap), 0 hard blockers. Both a11y commits pushed since the last review round are otherwise correct and well-evidenced.

Tasks

  • Load context and check current diff vs origin/master
  • Review changes since last review round (merge commit 4b709a78)
  • Check status of the outstanding NotifyTextEditTextChangedEvent / None finding
  • Review the WASM ARIA-relationship refresh commit
  • Post inline comments for new findings
  • Update summary with verdict

What changed since the last review

Two focused commits plus a no-op merge from master (a2c396ad, only pulls in unrelated FlyoutBase/FlowDirection changes — no a11y files touched, no conflict markers):

9451f5fb fix(a11y): Match WinUI event and culture rules — directly resolves the outstanding finding from the 2026-09-04 review (the None text-edit-change-type reversal). The author reconciled the two WinUI source layers: AutomationPeer_Partial.cpp forwards None to the bridge, but CUIAWindow::UIARaiseTextEditTextChangedEvent suppresses it before raising to UIA — so excluding None at the Win32 bridge (via the new Win32UIAutomationInterop.IsTextEditChangeTypeSupported helper) is correct, and this is now backed by a live FlaUI/native-WinUI comparison documented in plan.md (matching LCIDs, event senders, HRESULTs). Also: NotifyStructureChangedEvent/NotifyNotificationEvent now materialize the calling peer's provider instead of dropping the event or falling back to the root provider (matches UiaRaiseNotificationEvent's already-nullable string? params, so allowing empty/retained display strings is safe); FrameworkElementAutomationPeer.GetCultureCore now falls back to Owner.Language's LCID when AutomationProperties.Culture is unset, gated correctly via GetCurrentHighestValuePrecedence.

83ca842c fix(a11y): Refresh ARIA relationship targets — fixes a real bug where a relation target (for aria-describedby/aria-controls/aria-flowto) that entered/left the semantic tree without the source collection itself changing would never re-resolve. Weakly-tracked relation-bearing source peers (_relationshipPeers) are refreshed once per semantic-tree mutation batch (including virtualized realize/derealize). The refresh correctly self-heals (drops entries whose source peer is GC'd or no longer has a semantic node) and is coalesced via the existing dispatcher-queue pattern already used elsewhere in this file. New test (Given_WasmAriaRelations.When_Related_Target_Follows_Source_Then_IdRef_Tracks_Its_Lifetime) exercises the full add/remove/re-add/clear lifecycle for all three attributes.

Inline finding (1 posted)

Sev File Finding
Medium Given_TextEditTextChangedEvent.cs:30 The new When_ChangedData_Is_Null_Then_Throws test has no #if __SKIA__ guard or [PlatformCondition] exclusion, but AutomationPeer.RaiseTextEditTextChangedEvent's non-Skia branch (AutomationPeer.partial.mux.cs) never throws for a null changedData — it just logs via ApiInformation.TryRaiseNotImplemented (a no-throw path by default). This repo has dedicated native Android/iOS/tvOS runtime-test CI legs, so the test will fail there. Needs the same #if __SKIA__ treatment as its sibling tests in the same file (or an explicit platform exclusion if it's also meant to validate native WinUI's real implementation, per the plan.md claim that WinUI throws the same way).

Not re-flagged (already resolved by this push)

The High pre-existing Win32RawElementProvider._nextRuntimeId race and the Low duplicate XML-doc-block issue on FindParentProvider() from prior rounds are unaffected by this push (not in this diff) — no change in status.


Validation: Code review by diff inspection (git show on the two new commits + merge). CI for this push was still in progress at review time (XAML Style Check ✅, Pull Request Labeler ✅; Uno.UI build and other checks pending). Maintainers should run /runtime-tests Given_TextEditTextChangedEvent,Given_AutomationCulture,Given_WasmAriaRelations,Given_Win32UiaBridge on Skia Desktop/WASM and confirm the native Android/iOS/tvOS legs before merging.
· branch dev/doti/a11y-parity-remediation-impl

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

Completed the WinUI source/runtime reconciliation and resolved the remaining review thread. The branch now includes master through 0de519a99d, merged without rewriting history.

Code review assessment: corrected the Win32 None filter, null text-edit validation, notification source/empty-string handling, lazy explicit structure-event providers, culture fallback/zero values, and order-dependent WASM relationship IDREFs. Details and pinned Microsoft source links are in specs/004-a11y-parity-remediation/plan.md.

Runtime validation: native WinUI (Windows App SDK 2.3.1) and the corrected source-built Win32 app produced identical 18-record UIA event/culture traces and matching API outcomes/HRESULTs. The final merged desktop app passed 78 targeted cases; the published Skia-WASM app passed 44, including following-sibling relationship targets, removal/reinsertion, and clearing all three relation attributes.

The macOS native AX behavior remains subject to the platform-specific verification steps already documented in the plan; it was not run on this Windows machine. Fresh CI is running on a2c396ad7a.

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.

🔵 Needs a closer look

The changes span multiple accessibility backends and low-level interop paths (Win32 UIA bridge, WASM ARIA, macOS native), making it high-impact despite added tests.

Review details
  • Files reviewed: 55/56 changed files
  • Comments generated: 1
  • Review effort level: Lite

@github-actions

github-actions Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @morning4coffe-dev's task in 1m 9s —— View job


Claude Code Review — PR #23722

Verdict: ship — the single new commit (467d2639 test(a11y): Scope text-edit parity platforms) correctly resolves the one outstanding finding from the previous review round. No new issues found.

Tasks

  • Load context and check current diff vs origin/master
  • Check status of the outstanding NotifyTextEditTextChangedEvent / None finding
  • Review the new commit
  • Post inline comments for new findings (none needed)
  • Update summary with verdict

What changed since the last review

Single commit, one line: adds [PlatformCondition(ConditionMode.Include, RuntimeTestPlatforms.Skia | RuntimeTestPlatforms.NativeWinUI)] to Given_TextEditTextChangedEvent.When_ChangedData_Is_Null_Then_Throws.

This directly resolves the Medium finding from the prior round: the test asserted that AutomationPeer.RaiseTextEditTextChangedEvent(changeType, null!) throws ArgumentException, but AutomationPeer.partial.mux.cs:678-685 shows the non-__SKIA__ branch is a no-throw ApiInformation.TryRaiseNotImplemented stub — so the test would fail on native Android/iOS/tvOS/Wasm runtime-test legs. RuntimeTestPlatforms.Skia (per RuntimeTestPlatforms.cs:34) expands to SkiaDesktop | SkiaWasm | SkiaMobile (i.e. every Skia flavor, including Skia-on-Android/iOS/Wasm), so combined with NativeWinUI this scopes the test to exactly the two environments where a real throw is implemented: Uno's Skia path (AutomationPeer.partial.mux.cs:669-677, #if __SKIA__) and real WinUI's native implementation. Native Android/iOS/tvOS/Wasm are now correctly excluded.

The fix is minimal, correctly scoped, and doesn't touch the still-#if __SKIA__-gated listener-routing test in the same file (which was already correctly platform-scoped).

Not re-checked this round

The pre-existing High Win32RawElementProvider._nextRuntimeId race and Low duplicate XML-doc-block issue on FindParentProvider() from earlier rounds are unaffected by this push (not touched) — no change in status.


Validation: Code review by diff inspection (single-commit, single-line diff). Maintainers should run /runtime-tests Given_TextEditTextChangedEvent across Skia and NativeWinUI legs to confirm the platform-gated assertion passes as expected.
· branch dev/doti/a11y-parity-remediation-impl

@unodevops

Copy link
Copy Markdown
Contributor

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.

🔵 Needs a closer look

The changes span multiple accessibility backends and core automation routing/interop behavior, so final validation should be confirmed by a human reviewer across the impacted platforms and scenarios.

Review details
  • Files reviewed: 55/56 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

/azp run Uno.UI - CI

Retry requested without source changes. The transient WASM centered-card failure is green on attempt 2 (and passed the focused local reproduction). Android's touch-focused scroll failure also occurred on master build 232290 and passed its retry. The remaining failures are Android Given_AutoSuggestBox.When_Popup_Above and tvOS Given_BitmapIcon.When_Foreground_Changed_With_ShowAsMonochrome_True; no assertions were weakened or platform tests disabled to hide these failures.

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

CI follow-up: the WASM shard is now green on its retry. The remaining reported failures in build 232371 are Android Given_AutoSuggestBox.When_Popup_Above, Android Given_TextBox.When_Touch_Focused_Then_Scrolled_Away_The_Scroll_Sticks, and tvOS Given_BitmapIcon.When_Foreground_Changed_With_ShowAsMonochrome_True. The Android scroll failure is also present in master build 232290's first attempt.

I could not queue the targeted retries with the available credentials: GitHub's check-rerequest endpoint returned 404, and the Azure Pipelines bot responded "No pipelines are associated with this pull request." An Azure-authorized maintainer needs to retry the failed jobs in build 232371. No code or assertions were changed just to suppress these platform failures.

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 232371 found UI Test snapshots differences: skia-linux-screenshots: 57, skia-windows-screenshots: 2310, wasm: 11

Details
  • skia-linux-screenshots: 57 changed over 2348

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DisplayInformation.png-dark
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Examples.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ContextRequested.png-dark
    • ExpanderColorValidationPage.png
    • ContextRequested.png
    • Focus_FocusVisual_Properties.png-dark
    • Gamepad_CurrentReading.png-dark
  • skia-windows-screenshots: 2310 changed over 2408

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AppBar_KeyBoard.png-dark
    • ApplicationViewSpanningRectsPage.png-dark
    • AppWindowClosing.png
    • AppWindowPresenters.png
    • Arrange_Performance01.png
    • Attributed_text_Supserscript.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_Name.png
    • AutoSizedPathCentered.png-dark
    • AutoSuggestBox_Reason.png-dark
    • AutoSuggestBox_Reason.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • Basics_Automated.png-dark
    • Basics_Automated.png
    • BenchmarkDotNet.png-dark
    • BenchmarkDotNet.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Foreground.png
  • wasm: 11 changed over 1076

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • SamplesApp.Wasm.Windows_UI_Xaml_Controls.ListView.ListView_IsSelected
    • UITests.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_NavigationProperties
    • SamplesApp.Microsoft_UI_Xaml_Controls.WebView2Tests.WebView2_EnableDevTools
    • SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewSelectedItems
    • UITests.Shared.Microsoft_UI_Xaml_Controls.ExpanderTests.WinUIExpanderPage
    • UITests.Uno_Web.Http.CookieManagerTests
    • UITests.Windows_UI_Xaml_Media_Animation.ColorAnimation_Background
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal
    • UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension
    • UITests.Windows_UI_Xaml_Controls.CalendarView.CalendarView_Theming
    • Uno.UI.Samples.Content.UITests.WebView.WebView_AnchorNavigation

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

Final CI result for build 232371: completed with failures. WASM and tvOS are now green. Android shard 0 still fails Given_AutoSuggestBox.When_Popup_Above; shard 3 still fails Given_TextBox.When_Touch_Focused_Then_Scrolled_Away_The_Scroll_Sticks; shard 1 was cancelled at the 45-minute job limit. All review threads remain resolved and the branch remains conflict-free. These Android jobs need an Azure-authorized retry/investigation before the PR can be called merge-ready; the retry interfaces available here rejected the request.

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

Local Android A/B comparison completed without changing source or weakening assertions.

Version Source Repeated local results
PR 467d263943 / CI build 232371 15/15 passed
Exact base 0de519a99d / CI build 232328 15/15 passed

Both used the same isolated Android 34 Google Play x86_64 emulator, 1280x800 at 160 dpi, 256 MB VM heap, and clean app data for each of three runs. I verified that each CI merge's Git tree exactly equals the corresponding PR/base tree before using its APK; both APKs use the same target SDK and architectures.

The five cases cover all three popup-above variants, touch-focused scrolling, and Given_BackgroundTransition.When_Animation_With_Brush_Transition (the last test logged before the original shard-1 timeout). No PR-specific regression was reproduced. Android CI shards 0 and 3 have also passed their retries; shard 1 is the remaining runtime gate.

@mergify

mergify Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@morning4coffe-dev

Copy link
Copy Markdown
Member Author

Final readiness update: the Android shard-1 retry has passed and CI is now green on 467d263943. GitHub reports APPROVED, MERGEABLE, and CLEAN; 58 checks passed, with only the unqueued Mergify check skipped. All review threads are resolved. The local exact-base/PR Android comparison also passed 15/15 cases on each side, as documented above. The PR is ready to merge; I have not merged it.

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

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure kind/documentation platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform 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.

5 participants