{
  "slug": "pointer-release-cancellation-contract",
  "title": {
    "en": "A pressed control needs a cancellation path before commitment",
    "zh": "按钮按下之后、确认之前，要有取消路径"
  },
  "reader": {
    "en": "Businesses commissioning order or document controls where accidental activation has a real cost.",
    "zh": "采购订单或文件操作界面、需要避免误触的企业。"
  },
  "decision": "Model down/up/cancel/abort semantics and committed side effects; distinguish target size, drag alternatives and post-submit confirmation.",
  "source": {
    "url": "https://www.w3.org/WAI/WCAG22/Understanding/pointer-cancellation.html",
    "claim": {
      "en": "WCAG2.5.2 provides alternative conditions for single-pointer operations, including no down-event execution, abort/undo, up reversal or essential down execution.",
      "zh": "WCAG2.5.2为单指针操作提供多种满足路径，包括不在按下时执行、可中止／撤销、抬起反转或必要的按下执行。"
    },
    "accessed": "2026-10-21",
    "status": "official explanatory guidance opened; not full legal/conformance certification"
  },
  "cases": [
    [
      "P1: pointer down inside synthetic Send, moves outside, releases outside",
      "P1：在合成发送按钮内按下，移出后在外部松开",
      "Chosen abort policy: zero committed sends",
      "本例约定中止：已确认发送次数为0"
    ],
    [
      "P2: pointer down and up inside the same control",
      "P2：在同一控件内按下并松开",
      "Chosen release policy: one committed synthetic send",
      "本例松开执行：合成发送确认1次"
    ],
    [
      "P3: pointercancel occurs after down",
      "P3：按下后发生pointercancel",
      "Clear pending state; zero committed sends",
      "清除待定状态；已确认发送次数为0"
    ],
    [
      "P4: network side effect already dispatched on down; “cancel” only hides spinner",
      "P4：按下时已发网络请求；取消只是隐藏转圈",
      "Reject claimed cancellation; actual side effect not reversed",
      "不能声称已取消；实际副作用未反转"
    ]
  ],
  "steps": [
    [
      "Choose and document the supported criterion branch and actual commitment boundary; the example chooses release-to-commit.",
      "确定采用的条件分支和真实确认边界；本例选择松开时确认。"
    ],
    [
      "Replay down/move/outside-up/cancel sequences in an isolated implementation and count committed test actions.",
      "在隔离实现重放按下、移动、外部松开、取消事件，统计已确认测试动作。"
    ],
    [
      "Check keyboard activation separately and require actual provider evidence before claiming a production operation can be undone.",
      "键盘激活另测；声称可撤销生产操作前，需真实供应商证据。"
    ]
  ],
  "interpretation": [
    "The local teaching model can prove that its event sequence produces 0 or 1 commits. It cannot prove browser event dispatch, network cancellation or reversal of a real order. A bigger button reduces a different risk; it does not supply cancellation semantics.",
    "本地教学模型只能证明自身事件序列产生0或1次确认，不能证明浏览器派发、网络取消或真实订单撤销。加大按钮处理的是另一风险，并未提供取消语义。"
  ],
  "limits": [
    "Synthetic state machine only. No live send/order/delete requests. Essential down-event and undo alternatives need separate task assessment.",
    "仅合成状态机，不发送真实表单／订单／删除请求；必要的按下执行和撤销路径需按任务另评估。"
  ],
  "existingOverlap": [
    "mobile-tap-target-separation",
    "sortable-brief-drag-alternative",
    "quote-final-review-change-invalidation"
  ],
  "businessIntent": "Buyer-need hypothesis: a business commissioning a new website/portal needs an inspectable supplier acceptance decision. No matching keyword volume or relevant current GSC demand proven.",
  "serviceUptake": "Scoped new website/interface implementation and acceptance; no authority to amend frozen MadRaven pages.",
  "sourceStrength": "Primary technical claim support only, not market demand or commercial outcome proof.",
  "synthetic": true,
  "publicationOwner": "Phase1 only",
  "state": "teaching-record",
  "publicationApproved": "See release receipt; this teaching record is not implementation acceptance",
  "publicUrls": [],
  "qualityStatus": "private-substantive-draft-final-release-review-pending",
  "latestReview": {
    "date": "2026-10-20",
    "reviewer": "Primary Codex agent; no independent human review claimed",
    "rationale": "Down/up/cancel commitment semantics differs from target size, keyboard dragging and final payload review. Chosen synthetic release policy is narrower than the full criterion; the checker cannot undo a real request.",
    "scope": "Full887-body lexical triage incl10refined, both queues; related and closest relevant bodies read; not a full manual887-body reapproval"
  },
  "dedupDecision": {
    "status": "provisionally-distinct-final-review-pending",
    "reviewedScope": "887old/refined pairs +83Phase1 +167Phase2, seven new draft packs",
    "reason": "Down/up/cancel commitment semantics differs from target size, keyboard dragging and final payload review. Chosen synthetic release policy is narrower than the full criterion; the checker cannot undo a real request."
  },
  "nextAction": "Finish final substantive decision/bilingual review and supported new-route implementation in isolation; establish authorised incoming discovery and complete release gates before any deployment. Do not use frozen hubs without direct scoped permission.",
  "actualImplementationResults": null
}
