Skip to content

Linux / X11 AT-SPI accessibility backend for the Skia.X11 head #24380

Closed

Description

@egarim

What would you like to be added? 💡

A Linux / X11 AT-SPI accessibility backend for the Uno.UI.Runtime.Skia.X11 head.

6.6 brought Skia accessibility to Windows, macOS and WebAssembly. On Linux the Skia head renders to X11 but publishes no AT-SPI2 tree, so a Uno app is invisible to Orca and to AT-SPI-based automation. This adds an Accessibility/ provider to the X11 head that publishes the automation-peer tree over the accessibility D-Bus (org.a11y.atspi), mirroring how the macOS/WASM heads consume the shared SkiaAccessibilityBase / AccessibilityRouter abstraction.

Scope of this work:

  • Read path + registration (org.a11y.atspi.Socket.Embed), serving Accessible + Component.
  • Full interface set: Action, Value, Text, EditableText, Selection.
  • Live events via the base class hooks (state-changed, property-change, selection-changed, children-changed) and focus tracking.
  • Write path driving the real control through its automation provider (invoke / toggle / set-value / set-text / select).

Discussed in #24256 (maintainers confirmed it is in scope).

Why is this needed? 🤔

Any toolkit that paints its own pixels (Skia) publishes no control-level accessibility unless its peer tree is bridged to the platform API. Without this, Uno Skia apps on Linux are unusable with the Orca screen reader and invisible to AT-SPI-based tooling. It closes the last desktop gap after the 6.6 Windows/macOS/WASM work.

Renderer 🎨

  • Skia

For which platforms 📱💻🖥️

Skia Desktop (Linux / X11)

Anything else we need to know? 💬

The implementation was verified headless in a container (Xvfb + dbus + at-spi2-core): an external AT-SPI client reads the tree and drives controls over the bus (EditableText write + read-back through Text, Value set + read-back, Action do_action, checkbox toggle), with live state/property signals observed on the bus. It reuses the existing DBus/ layer's Tmds.DBus.Protocol dependency.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions