Skip to content

Stale-point guard clicks a same-label twin that was hidden from the accessibility tree and is revealed into a removed control's place #438

Open

Description

@SSFSKIM

Problem

#431 made the stale-point guard refuse a re-created match when the observation's record holds a same-label twin, or when the node's web area wasn't recorded whole. #435 extends the twin search to frameless record nodes. Neither can see a twin that wasn't in the accessibility tree at all when the agent observed: a hidden twin that is then revealed into a removed control's place looks just like a genuine re-render.

Measured on main f8f34652 (which carries #431), in #435's discovery (run 44688188130, kit probe/435-qual, README d7052b79). The setup: link A is removed, and a same-label link B that was hidden at the observation is revealed and slides into A's place. Main keeps the re-created match and clicks B in these layouts:

  • B inside a collapsed <details>: on CfT, Safari and Electron;
  • B with hidden="until-found": on CfT, Safari and Electron;
  • B in an off-screen content-visibility: auto section: on Safari, at the text point.

Why it's hard

#431 found that a "new to the record" proof can't work on WebKit, which gives a moved element new handles. So "B wasn't recorded" can't tell a revealed twin from a re-render; both are unrecorded. Ruling 889 accepted the label-free strict form for that reason. A fix needs evidence of identity that the record doesn't keep today, for example:

  • (a) Destination or identity at the observation: record the recorded control's AXURL, or its AXDOMIdentifier where the browser exposes it. Refuse a re-created candidate whose control reports a different one. This is content identity, which macOS engine: the stale-point guard lets a click land on a same-label link that slid into a removed link's place #431 avoided, but it is only used to refuse.
  • (b) Hidden-content markers: refuse a re-created match when the page holds a collapsed <details>, an until-found region or a content-visibility region in the same web area. That needs those regions to show up in the record.
  • (c) Measure first: how often do real pages reveal a hidden same-label control into a removed one's place?

Check

Found by #435's qualification.

Activity

  1. added
    bug
    status:ready-for-architect
    priority:P2
    on Nov 20, 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

    bugpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions