{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/wcag21/pulls/comments/184679282","pull_request_review_id":115927215,"id":184679282,"diff_hunk":"@@ -9,28 +9,43 @@\n \t\t<h1>Understanding Pointer Cancellation</h1>\n \t\t<section id=\"intent\">\n \t\t\t<h2>Intent</h2>\n-\t\t\t<p>The intent of this success criterion is to make it easier for users to prevent accidental or erroneous pointer input. People with various disabilities can inadvertently initiate touch or mouse events with unwanted results.</p>\n-<p>There is a distinction between when someone touches a screen and when they remove their finger. Similarly, in mouse interaction, there is a difference between pressing and releasing the mouse button. When activation occurs only when the pointer is released, users have the opportunity to prevent (cancel) the activation. They can move their finger or other pointer (e.g., the mouse cursor) away from the target when they realise that they touched that target inadvertently or erroneously.</p>     \n-        <p>Up-event activation refers to the activation of a target when the pointer is released. In a touchscreen interaction, when the finger touches a target, the up-event activation ony occurs when the finger is lifted while still being within the target boundary. Similarly in mouse interaction, the up-event occurs when the mouse button is released while the cursor is still within the boundary of the initial target when the mouse button was pressed.</p>\n-      <p>Authors can reduce the problem of users inadvertently triggering an action by using generic platform activation/click events that activate functionality on the up-event. For example, the \"click\" event in JavaScript triggers on release of the primary mouse button, and is an example of an implicit up-event. Despite its name, the onclick event handler works both for mouse interaction as well as for touch interaction.</p>\n-      \n-      <p>If activation on the down-event is necessary, there are several options:</p>\n+\t\t\t<p>The intent of this success criterion is to make it easier for users to prevent accidental or erroneous pointer input. People with various disabilities can inadvertently initiate touch or mouse events with unwanted results. Each of the following subsections roughly aligns with the bullets of this Success Criterion, and outlines a means of allowing users to cancel pointer operations.</p>\n+\t\t\t<h3>Up-Event activation or completion</h3>\n+\t\t\t<p>The most accessible way to incorporate pointer cancellation is to make activation occur on the up-event.</p>\n+     \n+        <p>Up-event activation refers to the activation of a target when the pointer is released. In a touchscreen interaction, when the finger touches a target, the up-event activation only occurs when the finger is lifted while still being within the target boundary. Similarly in mouse interaction, the up-event occurs when the mouse button is released while the cursor is still within the boundary of the initial target set when the mouse button was pressed.</p>\n+      <p>Authors can reduce the problem of users inadvertently triggering an action by using generic platform activation/click events that activate functionality on the up-event. For example, the \"click\" event in JavaScript triggers on release of the primary mouse button, and is an example of an implicit up-event. Despite its name, the onclick event handler is device-independent and also works for touch and keyboard interaction.</p>","path":"understanding/21/pointer-cancellation.html","position":15,"original_position":15,"commit_id":"cc372f6cdcbf0cf4edf9fb2474a1da6fd53ac8de","original_commit_id":"cc372f6cdcbf0cf4edf9fb2474a1da6fd53ac8de","user":{"login":"patrickhlauke","id":895831,"avatar_url":"https://avatars1.githubusercontent.com/u/895831?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickhlauke","html_url":"https://github.com/patrickhlauke","followers_url":"https://api.github.com/users/patrickhlauke/followers","following_url":"https://api.github.com/users/patrickhlauke/following{/other_user}","gists_url":"https://api.github.com/users/patrickhlauke/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickhlauke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickhlauke/subscriptions","organizations_url":"https://api.github.com/users/patrickhlauke/orgs","repos_url":"https://api.github.com/users/patrickhlauke/repos","events_url":"https://api.github.com/users/patrickhlauke/events{/privacy}","received_events_url":"https://api.github.com/users/patrickhlauke/received_events","type":"User","site_admin":false},"body":"i don't really think you need to mention `onclick` per se at all? as it's simply the handler if you were doing old-school \"event handlers as attributes in HTML\" (a very discouraged practice) or doing something like `foo.onclick = ....` in JavaScript which is also quite oldschool compared to using `addEventListener`, since `onclick` would only allow a single function to be tied?","created_at":"2018-04-27T12:59:45Z","updated_at":"2018-04-27T12:59:45Z","html_url":"https://github.com/w3c/wcag21/pull/884#discussion_r184679282","pull_request_url":"https://api.github.com/repos/w3c/wcag21/pulls/884","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/comments/184679282"},"html":{"href":"https://github.com/w3c/wcag21/pull/884#discussion_r184679282"},"pull_request":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/884"}},"in_reply_to_id":184567656},"pull_request":{"url":"https://api.github.com/repos/w3c/wcag21/pulls/884","id":184494245,"html_url":"https://github.com/w3c/wcag21/pull/884","diff_url":"https://github.com/w3c/wcag21/pull/884.diff","patch_url":"https://github.com/w3c/wcag21/pull/884.patch","issue_url":"https://api.github.com/repos/w3c/wcag21/issues/884","number":884,"state":"open","locked":false,"title":"Pointer cancellation mike","user":{"login":"mbgower","id":14298245,"avatar_url":"https://avatars1.githubusercontent.com/u/14298245?v=4","gravatar_id":"","url":"https://api.github.com/users/mbgower","html_url":"https://github.com/mbgower","followers_url":"https://api.github.com/users/mbgower/followers","following_url":"https://api.github.com/users/mbgower/following{/other_user}","gists_url":"https://api.github.com/users/mbgower/gists{/gist_id}","starred_url":"https://api.github.com/users/mbgower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbgower/subscriptions","organizations_url":"https://api.github.com/users/mbgower/orgs","repos_url":"https://api.github.com/users/mbgower/repos","events_url":"https://api.github.com/users/mbgower/events{/privacy}","received_events_url":"https://api.github.com/users/mbgower/received_events","type":"User","site_admin":false},"body":"@detlevhfischer and @steverep . Please review this substantive change to the Understanding document. I believe I have addressed various comments given in Issues.","created_at":"2018-04-27T00:06:14Z","updated_at":"2018-04-27T12:59:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"310b8f7956ba5127aa5c4570909247cec94b9a49","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/w3c/wcag21/pulls/884/commits","review_comments_url":"https://api.github.com/repos/w3c/wcag21/pulls/884/comments","review_comment_url":"https://api.github.com/repos/w3c/wcag21/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/wcag21/issues/884/comments","statuses_url":"https://api.github.com/repos/w3c/wcag21/statuses/cc372f6cdcbf0cf4edf9fb2474a1da6fd53ac8de","head":{"label":"w3c:pointer-cancellation-mike","ref":"pointer-cancellation-mike","sha":"cc372f6cdcbf0cf4edf9fb2474a1da6fd53ac8de","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":63957296,"name":"wcag21","full_name":"w3c/wcag21","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/wcag21","description":"WCAG 2.1 and support materials - implementation evaluation underway at https://www.w3.org/WAI/GL/WCAG21/CR/","fork":false,"url":"https://api.github.com/repos/w3c/wcag21","forks_url":"https://api.github.com/repos/w3c/wcag21/forks","keys_url":"https://api.github.com/repos/w3c/wcag21/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/wcag21/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/wcag21/teams","hooks_url":"https://api.github.com/repos/w3c/wcag21/hooks","issue_events_url":"https://api.github.com/repos/w3c/wcag21/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/wcag21/events","assignees_url":"https://api.github.com/repos/w3c/wcag21/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/wcag21/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/wcag21/tags","blobs_url":"https://api.github.com/repos/w3c/wcag21/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/wcag21/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/wcag21/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/wcag21/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/wcag21/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/wcag21/languages","stargazers_url":"https://api.github.com/repos/w3c/wcag21/stargazers","contributors_url":"https://api.github.com/repos/w3c/wcag21/contributors","subscribers_url":"https://api.github.com/repos/w3c/wcag21/subscribers","subscription_url":"https://api.github.com/repos/w3c/wcag21/subscription","commits_url":"https://api.github.com/repos/w3c/wcag21/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/wcag21/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/wcag21/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/wcag21/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/wcag21/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/wcag21/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/wcag21/merges","archive_url":"https://api.github.com/repos/w3c/wcag21/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/wcag21/downloads","issues_url":"https://api.github.com/repos/w3c/wcag21/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/wcag21/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/wcag21/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/wcag21/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/wcag21/labels{/name}","releases_url":"https://api.github.com/repos/w3c/wcag21/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/wcag21/deployments","created_at":"2016-07-22T13:55:20Z","updated_at":"2018-04-24T16:56:28Z","pushed_at":"2018-04-27T11:25:32Z","git_url":"git://github.com/w3c/wcag21.git","ssh_url":"git@github.com:w3c/wcag21.git","clone_url":"https://github.com/w3c/wcag21.git","svn_url":"https://github.com/w3c/wcag21","homepage":"https://w3c.github.io/wcag21/guidelines/","size":5209,"stargazers_count":102,"watchers_count":102,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":53,"open_issues":44,"watchers":102,"default_branch":"master"}},"base":{"label":"w3c:pointer-cancellation","ref":"pointer-cancellation","sha":"7b36a00bb79ed621e9a28cccd3bcf258a9dd910f","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":63957296,"name":"wcag21","full_name":"w3c/wcag21","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/wcag21","description":"WCAG 2.1 and support materials - implementation evaluation underway at https://www.w3.org/WAI/GL/WCAG21/CR/","fork":false,"url":"https://api.github.com/repos/w3c/wcag21","forks_url":"https://api.github.com/repos/w3c/wcag21/forks","keys_url":"https://api.github.com/repos/w3c/wcag21/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/wcag21/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/wcag21/teams","hooks_url":"https://api.github.com/repos/w3c/wcag21/hooks","issue_events_url":"https://api.github.com/repos/w3c/wcag21/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/wcag21/events","assignees_url":"https://api.github.com/repos/w3c/wcag21/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/wcag21/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/wcag21/tags","blobs_url":"https://api.github.com/repos/w3c/wcag21/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/wcag21/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/wcag21/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/wcag21/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/wcag21/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/wcag21/languages","stargazers_url":"https://api.github.com/repos/w3c/wcag21/stargazers","contributors_url":"https://api.github.com/repos/w3c/wcag21/contributors","subscribers_url":"https://api.github.com/repos/w3c/wcag21/subscribers","subscription_url":"https://api.github.com/repos/w3c/wcag21/subscription","commits_url":"https://api.github.com/repos/w3c/wcag21/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/wcag21/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/wcag21/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/wcag21/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/wcag21/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/wcag21/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/wcag21/merges","archive_url":"https://api.github.com/repos/w3c/wcag21/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/wcag21/downloads","issues_url":"https://api.github.com/repos/w3c/wcag21/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/wcag21/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/wcag21/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/wcag21/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/wcag21/labels{/name}","releases_url":"https://api.github.com/repos/w3c/wcag21/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/wcag21/deployments","created_at":"2016-07-22T13:55:20Z","updated_at":"2018-04-24T16:56:28Z","pushed_at":"2018-04-27T11:25:32Z","git_url":"git://github.com/w3c/wcag21.git","ssh_url":"git@github.com:w3c/wcag21.git","clone_url":"https://github.com/w3c/wcag21.git","svn_url":"https://github.com/w3c/wcag21","homepage":"https://w3c.github.io/wcag21/guidelines/","size":5209,"stargazers_count":102,"watchers_count":102,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":53,"open_issues":44,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/884"},"html":{"href":"https://github.com/w3c/wcag21/pull/884"},"issue":{"href":"https://api.github.com/repos/w3c/wcag21/issues/884"},"comments":{"href":"https://api.github.com/repos/w3c/wcag21/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/wcag21/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/wcag21/statuses/cc372f6cdcbf0cf4edf9fb2474a1da6fd53ac8de"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"patrickhlauke"}}