Skip to content

Add mobile accessibility automation for Skia #23934

Closed

Description

@morning4coffe-dev

What would you like to be added?

Add first-class accessibility and automation bridges for the Skia Android and iOS renderers. The WinUI AutomationPeer tree should be translated into native Android accessibility nodes and iOS accessibility elements so TalkBack, VoiceOver, UIAutomator, XCUITest, and Appium-compatible tooling can discover and operate Uno controls.

The implementation should cover semantic identity, roles, names, values, states, relationships, actions, focus synchronization, live updates, rich-control patterns, virtualization, lifecycle cleanup, and secure-text redaction.

Why is this needed?

Skia applications on mobile currently lack native accessibility integration comparable to Uno's Win32, WebAssembly, and macOS backends. This prevents screen-reader users from reliably navigating and operating controls and prevents mobile automation tools from locating controls through stable accessibility identifiers.

Renderer

  • Skia
  • Native

For which platforms

  • Android
  • iOS

Anything else we need to know?

The public design and acceptance criteria are tracked in specs/005-mobile-a11y-automation/. Native Android execution is covered by the implementation evidence; native iOS and VoiceOver/XCUITest validation require the macOS CI runner.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Jul 31, 2026
  2. SolidRockProgrammer commented on Sep 30, 2026

    @SolidRockProgrammer

    We'd like to add a concrete use case in support of this (and #23935).

    We ship an Uno Skia app on Android (Uno.Sdk 6.7.x; Uno.UI.Runtime.Skia.Android 6.7.103, also checked 6.6.176) and run Appium/UiAutomator2 UI suites against the desktop head that locate every control by AutomationProperties.AutomationId.

    On the Android head, a uiautomator dump shows every app node with an empty resource-id; only the accessible name reaches the tree, as content-desc. In the runtime, the only accessibility setters we could find are set_ContentDescription and set_HintText. There is no setViewIdResourceName call, so AutomationId never reaches Android's accessibility tree, and an Appium session can't locate anything by id. The old native renderer's IsUiAutomationMappingEnabled covered this case.

    As a workaround we drive the Android head by accessible name. That's fragile, because every caption change and every locale breaks it. "Exposes stable automation identifiers for UIAutomator, XCUITest, and Appium-compatible tooling" in #23935 is exactly what we need, and we'd be happy to test a preview build against our suites.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions