You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
#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:
(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
The <details> and until-found twin cells answer a refusal on CfT, Safari and Electron.
Activity