Skip to content

Linux: Electron apps expose no accessibility tree unless started with --force-renderer-accessibility #228

Done

Description

@SSFSKIM

Problem & intent

On Linux, an Electron application exposes no accessibility tree to cua unless it was started with --force-renderer-accessibility. Without the tree, cua sees only the X11 fallback: one node, no elements to click or type into. Measured in #171's application-family matrix (M0.4, docs/evidence/2026-10-28-own-linux-engine/m0/matrix/README.md, Electron 44.9.0 fixture). This held even with the session bus's org.a11y.Status IsEnabled already true, the switch that turns on Qt's bridge. Both of OpenAI's helper builds and cua's own engine behave the same, so this is not a regression. But Electron apps (VS Code, Slack, Obsidian, Discord and others) are common agent targets, and with no tree, agents get far less control over them.

Intent: Electron apps that cua drives on Linux expose their tree, without the person having to restart them by hand with a flag.

Known facts

Constraints

  • Changing how an app starts is visible to the person: only for apps cua launches, and documented.
  • No vendor code.

Success criteria

  • An Electron app started through cua's launch_app on Linux returns its AT-SPI tree in get_window_state.
  • For an Electron app started without it, cua doctor or the observation names the reason and the fix in one sentence instead of returning a bare one-node tree.

Open questions

  1. How to detect an Electron app before launch (desktop entry, the binary, a list) and after (ToolkitName Chromium with a non-Chrome class).
  2. Is there an environment variable or a session setting that Electron honours, so nothing is added to the command line?
  3. Does the same apply to Chromium-embedded apps that are not Electron (CEF)?

Decision log

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P3
    on Oct 28, 2026
  2. SSFSKIM commented on Oct 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-architect: From #171 M0.4 matrix; both engines alike; launch-time enabling to design

  3. added 10 commits that reference this issue on Nov 28, 2026
  4. 17 remaining items

  5. added 11 commits that reference this issue on Nov 28, 2026
  6. removed
    status:ready-for-architect
    on Nov 28, 2026
  7. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #613 (bf594e1, cua 0.31.0, linux-engine 0.4.7).

  8. added a commit that references this issue on Nov 29, 2026
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

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions