Skip to content

feat(a11y): add mobile automation support - #23935

Merged
MartinZikmund merged 152 commits into
masterfrom
005-mobile-a11y-automation
Oct 12, 2026
Merged

MartinZikmund merged 152 commits into
masterfrom
005-mobile-a11y-automation

Conversation

@morning4coffe-dev

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

Copy link
Copy Markdown
Member

GitHub Issue: closes #23934

Note

Bottom of a GitHub stack (stack #24389), based on master. Review all commits. This PR no longer depends on #25184. Each PR above targets the branch of the PR below it, so GitHub shows only its own changes.

Stack, bottom to top:

  1. This PR: mobile automation
  2. fix: Resolve FindName through the XAML namescope #25307 FindName / XAML namescope fixes (split out of this PR)
  3. fix: Declare Name on DependencyObject like WinUI #25184 DependencyObject-owned NameProperty
  4. fix(a11y): Use owning flyout name for presenter AutomationId #25308 flyout owner-name AutomationId (split out of this PR)
  5. refactor: Register DependencyObject.Name without the holder #25214 DP storage independent of registration order

Merge flow: merge bottom-up. When a lower PR merges and its branch is deleted, GitHub retargets the next PR onto master. If the lower PR was squash-merged, rebase the next branch onto master first (git rebase --onto origin/master <old lower head>), so the squashed commits aren't replayed.

PR Type:

✨ Feature

What changed? 🚀

This adds first-class accessibility and automation support for the Skia Android and iOS targets:

  • Projects the WinUI automation-peer tree into native Android accessibility nodes and iOS accessibility elements.
  • Routes native actions, focus, property changes, structure changes, announcements, and role descriptions through live automation peers.
  • Exposes stable automation identifiers for UIAutomator, XCUITest, and Appium-compatible tooling while redacting secure text.
  • Adds native-node, lifecycle, performance, capability-matrix, and SamplesApp automation coverage.
  • Extends the Android and iOS Skia CI stages with mobile accessibility tests.

The implementation follows the MUX peer/provider sources and the native AccessibilityNodeInfo / UIAccessibility contracts: an item-keyed shared ItemAutomationPeer is reused across child/pattern providers, while native occurrences retain distinct identities and occurrence-specific geometry. It also includes word/line/paragraph granularity, XAML-to-native focus, app-private action IDs, UIKit scrolling announcements, iOS 17+ assertive announcements and updatesFrequently.

#23722 merged on September 8 and supplies the shared remediation. This PR now targets master; the former stack/trigger restriction is no longer current.

Review follow-up

  • Preserve surviving peer identities through grouped Remove/Replace, with reference-based pruning over current flattened items.
  • Query duplicate-item geometry for the actual native occurrence while preserving the shared peer and its custom overrides.
  • Respect the real Window-pattern contract for popup modality, including caret popups and related submenu presenters.
  • Make screenshot capture asynchronous with pending-only client polling; the original capture failure/timeout remains terminal rather than being hidden by an automatic replacement capture.
  • Use the normal original-APK deployment/signing path and assembly-store preparation for CI UIAutomator fixtures.

Rebase onto master (RichEditBox)

Rebased onto master at 2c706a83b1d, which brings Skia RichEditBox support (#23924) and the Generic.xaml update (#21513; the only extra conflict was SplitView, where master now uses GetTemplateChild). Both PRs changed the old Android helper, so RichEditBox accessibility now goes through this PR's shared peer tree:

  • Conflicts: UnoExploreByTouchHelper keeps this PR's version, with master's RichEditBox logic rebuilt on the new model. SkiaAccessibilityBase, MacOSAccessibility, TextRangeAdapter, WebAssemblyAccessibility, AccessibilityRouter and Resources.resw merge both sides. Master's text-control state hook now registers only once a bridge is enabled.
  • Read-only state: with no Value pattern, the read-only state comes from the Text pattern's IsReadOnly attribute. RichEditBox exposes no Value pattern (WinUI doesn't either), so Android no longer offers SET_TEXT for it. This is deliberate.
  • Selection: a backward selection keeps its direction.
  • Clipboard: copy, cut and paste actions are available. Paste checks the clipboard directly, as WinUI's RichEditBox does.
  • Text segments: word, line and paragraph come from the document's own ranges, and RichEditBox now reports line granularity.
  • Android hit testing: a touch on a hyperlink or image inside RichEditBox lands on that child.
  • Refresh: Android and iOS refresh the node when text, selection, placeholder, read-only or spell check change.
  • iOS: the editor text is exposed as the accessibility value.
  • Spelling errors: they reach screen readers as Text pattern annotations only, not as extra nodes, as master's Android helper did.
  • Performance: state attributes such as IsReadOnly, annotations, link and selection no longer compute the formatting of the whole document first.

Moved up the stack

This PR used to sit on #25184 and carry the FindName and flyout-name fixes. It is now based on master, and those commits moved, unchanged, to their own PRs:

Known gap in this PR

A Flyout's or MenuFlyout's presenter AutomationId does not come from the flyout's x:Name, whether the flyout comes from compiled XAML or XamlReader. MenuFlyoutPresenter.GetOwnerName returns null here. Reading FrameworkElement.NameProperty on a MenuFlyout, as master does, throws under property owner validation. The earlier MenuFlyout-only generator stand-in (__UnoXamlName / MarkupHelper.GetXamlName) was removed from the stack. Workaround: set AutomationProperties.AutomationId in the presenter style. Fixed in #25308.

Current validation

  • Restack onto master (a00b15d2d30), head 803adde9f9a, with the MenuFlyout name stand-in removed. One conflict: an AppleUIKitHost doc comment that master had already corrected; master's wording was kept. Compile (strict, no fast-dev flag, net10.0): Uno.UI builds with 0 errors. Runtime (Skia Desktop): Given_MenuFlyout plus all Given_MobileAccessibility* classes gave 104 passed, 128 skipped (mobile-only), 0 failed. Compared with the earlier head 745a2dcd043, this PR's patch differs only by the stand-in removal: the generator emission, the MarkupHelper helpers, the GetOwnerName read, and the compiled-XAML AutomationId test and its page, which moved to fix(a11y): Use owning flyout name for presenter AutomationId #25308.

  • Previous round: results below were recorded before this restack.

  • Previous round (before the restack), Skia Desktop runtime: 1926 tests across the Markup, FindName, a11y/mobile tree, RichEditBox, TextBox, PasswordBox, ComboBox, AutoSuggestBox, SplitView, CalendarDatePicker, Control, FrameworkElement, xLoad, VisualStateManager, MenuFlyout and Flyout suites: 1851 passed, 43 skipped, 2 inconclusive, 30 failed. All 30 failures also fail without these changes (display-scale layout assertions). Android, iOS, WASM, macOS and Win32 runtimes built strict with 0 errors; Android and iOS runtime tests were compiled but not run on a device.

  • Compile: SDK10 desktop build passes with zero warnings/errors; Android APK and UITest compilation pass with documented resource/NUnit-engine warnings. APK v2/v3 signatures are verified.

  • Runtime (desktop): 24 shared peer, grouped-mutation, occurrence-geometry and modal cases pass with no skips.

  • Runtime (owned Android API 34): nine native contract cases and 15 UIAutomator/screenshot fixtures pass. The original duplicate-occurrence, live-region and submenu regressions are included.

  • Screenshot failure contract: eight deterministic error/timeout cases and the real repeated-capture case pass. A later successful capture cannot erase the first failure.

  • Run boundary: the full 15-fixture suite passed before the final client-polling-only correction. After that correction, the UITest project was rebuilt and the eight deterministic cases plus the native repeated-capture case passed; the full 15-fixture suite was not rerun again.

  • The private emulator, ADB server, writable state and test identities were isolated on Q:. Only owned processes were stopped; existing user emulators and global ADB were preserved.

The local Android build deliberately disables AOT, managed trimming, Java shrinking and optimized JNI marshaling. Native iOS execution, release-optimization behavior and manual VoiceOver/TalkBack use are not claimed by these checks.

Previously recorded validation

  • Source review: shared naming and provider contracts compared with microsoft/microsoft-ui-xaml at 439bda90582f7892ca595a193f55dbfc6ae2010c. UIKit projection now honors peer AutomationId/Culture overrides, weak peer-occurrence identity, virtual children, live popup presentation, and ancestor scrolling. Integer IDs remain exact, with pre-cast Int32 bounds.
  • Runtime (Android API 34): the full automation namespace passes 413 tests, 0 failures, 158 platform skips. The previously failing clipboard/paste cases also pass in a focused 7/7 rerun with the view-ID boundary cases. The fix preserves local clipboard availability and clear notifications while Android's clipboard overlay suppresses OS metadata/callback access.
  • Runtime (Skia Desktop): 261 automation tests passed, 0 failures during integration validation.
  • Compile: Android backend/sample, native WinUI runtime-test library (net10.0-windows10.0.19041.0), and AppleUIKit backend (net10.0-ios26.0) build. The Windows native test build uses a short worktree path to avoid PRI/MAX_PATH failures. Backend-only fixtures use existing .skia.cs scoping; public WinUI contract tests remain compiled.

The local Android APK deliberately disables AOT, managed trimming, Java shrinking, and optimized JNI marshal methods. It is native behavioral evidence, not release-shrinker/AOT validation. Its SHA-256 is 903C8E1B5C6A05BD327C02A13776BB91DE8686584D3455131D454B955709C3F7.

Remaining gates: fresh exact-head CI and reviewer approval remain required. Earlier Windows AppleUIKit compilation is not native iOS/VoiceOver/XCUITest runtime evidence. No parent merge or branch-protection bypass has been performed.

PR Checklist ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa

@github-actions github-actions Bot added platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Jul 31, 2026
@github-actions

github-actions Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

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


Code Review

Tasks:

  • Gather context and understand the PR
  • Review core accessibility implementation files (Android + iOS)
  • Review shared/cross-platform accessibility files
  • Post inline review comments
  • Post summary

Verdict: fix-first — one confirmed compilation bug blocks the PR; two code-style issues should be resolved before merge.

Issues (3 inline comments posted)

🔴 Critical — compilation error on Android and iOS (×2)

SkiaAccessibilityBase.UpdateRoleDescription is declared abstract. Every other concrete subclass provides an override (Win32Accessibility, MacOSAccessibility, WebAssemblyAccessibility), but AndroidSkiaAccessibility and AppleUIKitAccessibility do not. Both sealed classes will fail to compile on their respective targets. The fix is a one-liner => ScheduleInvalidation(handle) / => InvalidateElement(handle) modelled after the other Update* overrides in the same file (see inline comments on line 498 and line 1669).

🟡 Moderate — brace-style violations in ExecuteAction (iOS, ×9)

Nine if (peer is null || !peer.IsEnabled()) return false; guards in AppleUIKitAccessibility.ExecuteAction have no braces. The repo's code-style rule (Allman, always-braces) is enforced by CI analyzers when UnoFastDevBuild=false. These will become analyzer warnings on the PR CI run.

🟡 Moderate — dead code in InvokeMatchingCustomAction

ScrollForward → "Scroll Forward" and ScrollBackward → "Scroll Backward" in the switch expression inside InvokeMatchingCustomAction can never be reached: the outer ExecuteAction switch handles those two enum values with explicit case arms before the default: that delegates here.


Cross-cutting observations (no inline comment needed)

  • Design is sound. The adapter/router split (per-window SkiaAccessibilityBase subclasses, process-wide AccessibilityRouter fan-out) is clean. The Android swap-buffer invalidation pattern and iOS live-pull approach are appropriate to their respective native models.
  • Event contract is respected. No new event Action / event Action<T> declarations; all hook points use typed Func<> / Action<> delegate properties (not event declarations), which is correct.
  • Thread discipline. The Android coalesced-flush and iOS main-thread marshal patterns are consistent and correct. AnnounceOnPlatform is properly gated by thread checks on both platforms.
  • AccessibilityPeerHelper accumulates static Func/Action hook slots. 37 static nullable delegates is a wide surface. Consider whether some of these can be collapsed into an interface per platform to make the coupling explicit and the registration lifecycle clearer.
  • FindFirstFocusableChild / EnumerateFocusableChildren (pre-existing): These use unbounded recursion without the MaxTreeDepth = 1000 guard that GetPeerTree applies. Not introduced by this PR, but worth tracking.

@github-actions

github-actions Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

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


Code Review

Tasks:

  • Gather context and understand the PR
  • Examine diff since base branch
  • Check if previously flagged issues were addressed
  • Review updated/new files for correctness
  • Post inline comments for remaining/new findings
  • Post summary

Verdict: fix-first — both compilation blockers from the previous review are resolved; three code-quality issues remain that will cause CI failures or are fragile.

What was fixed ✅

  • AndroidSkiaAccessibility now provides UpdateRoleDescription (line 498) and the previously missing UpdateIsReadOnly was already present — Android target will compile correctly.
  • AppleUIKitAccessibility now provides UpdateRoleDescription (line 1669) — iOS/macCatalyst/tvOS target will compile correctly.
  • UnoExploreByTouchHelper refactored HasFiniteBounds → HasUsableBounds (adds Width > 0 && Height > 0 guard), fixing zero-sized rectangle hit-test fallback.
  • SkiaAccessibilityBase announcement throttling now uses a version counter + _announcementGate lock, preventing stale timer callbacks from firing after disposal.
  • SkiaAccessibilityBase.ReemitDescendantPositions converted from recursion to an explicit stack, eliminating unbounded stack growth on deep trees.
  • SkiaAccessibilityBase.Dispose now properly unsubscribes scroll handlers and wraps cleanup in finally.

Issues still open (3 inline comments posted)

🟡 Brace-style — lambda guards in AppleUIKitAccessibility (15 occurrences, lines 1188–1415)

The if (!weakSelf.TryGetTarget(out var self)) return false; guard appears 15 times inside custom-action lambdas without braces. Not previously flagged. Same Allman rule applies inside lambdas; CI analyzers will produce warnings.

🟡 Brace-style — method bodies in AppleUIKitAccessibility (4 occurrences: lines 1801, 1901, 2000, 2071)

Four more braceless single-line if (…) return; guards in regular method bodies outside ExecuteAction. The 9 occurrences inside ExecuteAction (flagged in the prior review) are also still present. All 28 violations need braces before CI will be clean.

🟡 Reflection workaround on internal property (Given_SkiaAndroidAccessibilityNode.cs, line 1388)

The test class is gated to SkiaAndroid, which uses a net10.0-android TFM (__ANDROID__, not __SKIA__), so the #if __SKIA__ branch is dead and the reflection path is the only one that ever runs. Accessing TextBox.IsBackwardSelection via BindingFlags.NonPublic is fragile — a rename turns the Assert.IsNotNull guard into the error message. Use #if __ANDROID__ and call the property directly, or expose a test accessor.

Cross-cutting observations (no new inline comment needed)

  • Dead code in InvokeMatchingCustomAction (lines 1610–1611, previously flagged): the ScrollForward → "Scroll Forward" and ScrollBackward → "Scroll Backward" arms are still unreachable; the outer ExecuteAction switch handles both before default:. They should be removed.
  • AccessibilityPeerHelper static hook surface: 29 static Func/Action slots. Not a new finding, but registering them as a one-way write (set once per window, never cleared on dispose) is consistent with the per-window SkiaAccessibilityBase lifetime. No new concern, but worth tracking if multi-window teardown adds complexity later.
  • Clipboard.Android.cs thread-safety: _clearPending, _clipboardKnownCleared, _clearedClipTimestamp are read and written outside _syncLock, while _locallySetContent/_locallySetClipTimestamp are always accessed under the lock. Since clipboard operations are generally main-thread-bound this is unlikely to cause a problem in practice, but the inconsistency is worth a follow-up comment if not deliberate.

@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

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


Claude Code Review — Round 3 Final

PR #23935 · feat(a11y): add mobile automation support


Verdict: ✅ SHIP

All round-1 and round-2 blockers are resolved. The updated diff (rounds of commits since the last review) introduced no new significant issues.


Previously Flagged Issues — Status

Finding Round Status
Missing UpdateRoleDescription override in both adapters (compile blocker) 1 ✅ Fixed
15 × lambda guard if (!weakSelf.TryGetTarget) without Allman braces 2 ✅ Fixed
ExecuteAction case bodies missing braces 2 ✅ Fixed
Dead ScrollForward/ScrollBackward arms in InvokeMatchingCustomAction 2 ✅ Fixed (removed)
Fragile BindingFlags.NonPublic reflection behind dead #if __SKIA__ in test 2 ✅ Fixed — now direct textBox.IsBackwardSelection (commit fc6c0c55)

Round 3 Scan — No New Issues

The following areas were reviewed against the new commits (fix(ios), fix(android), fix(a11y) × several, test(a11y) × two):

UnoExploreByTouchHelper.cs (4 132 lines)

  • Virtual-ID registry cleanup in PruneRegistryToCurrentTree and ClearAdapter — correct; _orderedIds is cleared on the next EnsureVisibleTreeBuilt call triggered by MarkAccessibilityTreeDirty.
  • _settingNativeFocus re-entry guard correctly scoped around RequestNativeFocusById and SyncNativeKeyboardFocus; no XAML→native→XAML loop.
  • fix(android): only mirror focus when host owns it — guard if (!_host.IsFocused) return; in SyncNativeKeyboardFocus is correct; prevents fighting the invisible text-input view for focus.
  • OnPerformActionForVirtualView action dispatch — no dead arms; all branches have proper braces.
  • Item peer / realized-container identity: GetOrCreatePeerVirtualId uses ConditionalWeakTable<AutomationPeer, VirtualIdBox> keyed by peer instance — recycled containers' new ItemAutomationPeer gets a fresh ID; stable across re-realization.

AndroidSkiaAccessibility.cs (772 lines)

  • Coalesced invalidation (FlushPendingInvalidations) — handle-to-ID deduplication via _flushingInvalidationTargets is correct.
  • AnnounceOnPlatform off-thread dispatch — stale-helper guard if (IsDisposed || !ReferenceEquals(_helper, helper)) is correct.
  • Detach() — all batched state is cleared before reference-equality guards fire.

AppleUIKitAccessibility.cs (2 924 lines)

  • Formatter pass (fix(ios): apply formatter layout) verified — all 15 lambda guards now have proper Allman braces; InvokeMatchingCustomAction switch has only the correct arms (Expand, Collapse, ScrollIntoView, Realize).
  • Scroll handling (fix(ios): honour UIKit scroll, announcement and trait contracts) — PostScrollPositionAnnouncement correctly satisfies the PageScrolled VoiceOver contract after a successful scroll.

AccessibilityNodeInfoCompatJni.cs (152 lines)

  • JNI version-detection logic for setChecked(int) vs setChecked(bool) — correct; double-checked locking for one-time init; Indeterminate falls back gracefully on old bindings and overrides via native API on Android ≥ 36.
  • Return value semantics (false = indeterminate not fully represented) are consumed correctly by the caller (node.Extras?.PutInt fallback path).

SkiaAccessibilityBase.cs — landmark owner resolution

  • fix(a11y): resolve landmark owner through events source — peer = peer.ResolveProviderPeer(resolveEventsSource: true) is applied before the LandmarkTypeProperty branch; ListItem/TabItem/TreeItem landmark updates now attribute to the correct data peer.

Test file (Given_SkiaAndroidAccessibilityNode.skia.cs, 1 818 lines)

  • All [TestMethod] methods are async Task; no async void.
  • Reflection removed (commit fc6c0c55); direct textBox.IsBackwardSelection access.
  • When_EventsSource_Changes_Then_New_Peer_Gets_New_Id_And_Stale_Id_Is_Rejected — correctly verifies ID isolation after EventsSource reassignment.
  • Text-traversal tests (MoveTextNext / MoveTextPrevious) — verify the fix(a11y): move and expand text ranges by real units behavior at character, word, line, paragraph, and page granularities.

Validation Evidence

  • Code review (by inspection): all previously flagged issues confirmed resolved; no new correctness or style issues found in the reviewed diff.
  • Compile validation: not run locally (CI covers this; UnoFastDevBuild=false on every PR build enforces the Allman-brace analyzer).
  • Runtime validation: not run locally; the new test suite in Given_SkiaAndroidAccessibilityNode.skia.cs is designed to cover these paths end-to-end on a Skia-Android target.

Round 3 of 3 · all blockers resolved · ready to merge

@morning4coffe-dev
morning4coffe-dev marked this pull request as ready for review August 25, 2026 03:17
@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 24s —— View job


I'll analyze this and get back to you.

@mergify

mergify Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 18s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 19s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 21s —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 15s —— View job


I'll analyze this and get back to you.

MartinZikmund and others added 15 commits October 11, 2026 22:53
RichEditBox exposes no Value pattern (WinUI's windowless RichEdit host
hides it), so the mobile bridges reported it read-only and relied on
owner-type special cases. Read editability from the Text pattern's
IsReadOnly attribute when there is no Value pattern, and only advertise
SetValue when the Value pattern can set text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
Mobile selection reads and writes went through the UIA selection range,
which has no direction, so a backward RichEditBox selection came back
forward. Use the editor's own selection like the TextBox path does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
The mobile copy, cut and paste actions only recognised TextBox, so
RichEditBox never offered them. Route them to the editor's clipboard
methods with the same enabled, focus and read-only gates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
Native word, line and paragraph movement split RichEditBox text with the
plain-string heuristics, which disagree with the units its UIA range
expands to. Take the segments from the document's TOM ranges instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
Touch exploration returned the RichEditBox node as soon as the hit
element mapped to one, so its hyperlink and image children could not be
reached by touch. Check the element's ownerless child peers first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
RichEditBox reports placeholder, read-only and spell-check changes
through the text-control side channel only, which macOS and WASM handle
but Android and iOS ignored, leaving stale native nodes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
AccessibilityValue only read the Value pattern, so VoiceOver read an
empty RichEditBox. Fall back to the Text pattern's document text for
edit controls without a Value pattern.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
Read-only and multiline state, backward selection, TOM word segments,
clipboard availability and the peer tree's text objects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
RichEditBox spelling errors are Text pattern annotations. As separate nodes they duplicated the editor's text during swipe navigation and won Android hit tests over the editor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
IsReadOnly, annotation, link and selection attributes no longer compute the character and paragraph format of the whole range first. Mobile node rebuilds read IsReadOnly on every text change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017TzDba3gSK3uYpvLmmBmaa
@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.

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

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 1s —— View job


I'll analyze this and get back to you.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 238972 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
    • 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
    • ElementLevelTheme.png-dark
    • DisplayInformation.png-dark
    • ElementLevelTheme.png
    • DropDownButtonPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • DoubleImageBrushInList.png-dark
  • skia-windows-screenshots: 2458 changed over 2488

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AnimatedIconPage.png
    • AppBarButtonWithIconTest.png-dark
    • ApplicationViewMode.png
    • AppWindowClosing.png-dark
    • AppWindowPositionAndSize.png
    • Arrange_Performance01.png
    • Attributed_text_Supserscript.png-dark
    • AutoBorderStretchwithbottommargin.png
    • AutoBorderStretchwithleftmargin.png-dark
    • AutomationProperties_Name.png-dark
    • AutomationProperties_Name.png
    • AutoSuggestBoxChosenSuggestion.png-dark
    • AutoSuggestBoxChosenSuggestion.png
    • AutoSuggestBox_SoftKeboard.png-dark
    • AutoSuggestBox_SoftKeboard.png
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • Battery.png-dark
    • Battery.png

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 area/code-generation Categorizes an issue or PR as relevant to code generation area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform 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.

Add mobile accessibility automation for Skia

7 participants