{"action":"created","comment":{"url":"https://api.github.com/repos/dequelabs/axe-core/pulls/comments/172859510","pull_request_review_id":101948205,"id":172859510,"diff_hunk":"@@ -45,26 +52,27 @@ describe('main-is-top-level', function () {\n \t\tnavDiv.setAttribute('role','navigation');\n \t\tfixture.appendChild(navDiv);\n \t\tfixture.appendChild(mainDiv);\n-\t\tassert.isTrue(checks['main-is-top-level'].evaluate(mainDiv));\n+\t\tassert.isTrue(check.evaluate.call(checkContext, mainDiv));\n+\t\tassert.deepEqual(checkContext._data, { role: 'main' });\n \t});\n \t\n \tit('should return true if main is in form landmark', function () {","path":"test/checks/keyboard/landmark-is-top-level.js","position":61,"original_position":61,"commit_id":"9787bcfc66257331385909e2b0beb01ef8f51f4f","original_commit_id":"9787bcfc66257331385909e2b0beb01ef8f51f4f","user":{"login":"isner","id":5174819,"avatar_url":"https://avatars3.githubusercontent.com/u/5174819?v=4","gravatar_id":"","url":"https://api.github.com/users/isner","html_url":"https://github.com/isner","followers_url":"https://api.github.com/users/isner/followers","following_url":"https://api.github.com/users/isner/following{/other_user}","gists_url":"https://api.github.com/users/isner/gists{/gist_id}","starred_url":"https://api.github.com/users/isner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isner/subscriptions","organizations_url":"https://api.github.com/users/isner/orgs","repos_url":"https://api.github.com/users/isner/repos","events_url":"https://api.github.com/users/isner/events{/privacy}","received_events_url":"https://api.github.com/users/isner/received_events","type":"User","site_admin":false},"body":"Some of these test names are now outdated given the nature of the changes therein.","created_at":"2018-03-07T14:32:35Z","updated_at":"2018-03-07T14:32:35Z","html_url":"https://github.com/dequelabs/axe-core/pull/761#discussion_r172859510","pull_request_url":"https://api.github.com/repos/dequelabs/axe-core/pulls/761","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/comments/172859510"},"html":{"href":"https://github.com/dequelabs/axe-core/pull/761#discussion_r172859510"},"pull_request":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/761"}}},"pull_request":{"url":"https://api.github.com/repos/dequelabs/axe-core/pulls/761","id":172677035,"html_url":"https://github.com/dequelabs/axe-core/pull/761","diff_url":"https://github.com/dequelabs/axe-core/pull/761.diff","patch_url":"https://github.com/dequelabs/axe-core/pull/761.patch","issue_url":"https://api.github.com/repos/dequelabs/axe-core/issues/761","number":761,"state":"open","locked":false,"title":"New rules: contentinfo / banner-is-top-level","user":{"login":"WilcoFiers","id":530687,"avatar_url":"https://avatars1.githubusercontent.com/u/530687?v=4","gravatar_id":"","url":"https://api.github.com/users/WilcoFiers","html_url":"https://github.com/WilcoFiers","followers_url":"https://api.github.com/users/WilcoFiers/followers","following_url":"https://api.github.com/users/WilcoFiers/following{/other_user}","gists_url":"https://api.github.com/users/WilcoFiers/gists{/gist_id}","starred_url":"https://api.github.com/users/WilcoFiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WilcoFiers/subscriptions","organizations_url":"https://api.github.com/users/WilcoFiers/orgs","repos_url":"https://api.github.com/users/WilcoFiers/repos","events_url":"https://api.github.com/users/WilcoFiers/events{/privacy}","received_events_url":"https://api.github.com/users/WilcoFiers/received_events","type":"User","site_admin":false},"body":"These rules are similar to landmark-main-is-top-level, with the small difference that we skip the element if they have no role and they are nested in a article, aside, main, nav or section element.","created_at":"2018-03-03T17:10:03Z","updated_at":"2018-03-07T14:32:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d2bdecedb6248dbf254d74bff524669bfeabf74","assignee":null,"assignees":[],"requested_reviewers":[{"login":"marcysutton","id":1045233,"avatar_url":"https://avatars0.githubusercontent.com/u/1045233?v=4","gravatar_id":"","url":"https://api.github.com/users/marcysutton","html_url":"https://github.com/marcysutton","followers_url":"https://api.github.com/users/marcysutton/followers","following_url":"https://api.github.com/users/marcysutton/following{/other_user}","gists_url":"https://api.github.com/users/marcysutton/gists{/gist_id}","starred_url":"https://api.github.com/users/marcysutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcysutton/subscriptions","organizations_url":"https://api.github.com/users/marcysutton/orgs","repos_url":"https://api.github.com/users/marcysutton/repos","events_url":"https://api.github.com/users/marcysutton/events{/privacy}","received_events_url":"https://api.github.com/users/marcysutton/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dequelabs/axe-core/pulls/761/commits","review_comments_url":"https://api.github.com/repos/dequelabs/axe-core/pulls/761/comments","review_comment_url":"https://api.github.com/repos/dequelabs/axe-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dequelabs/axe-core/issues/761/comments","statuses_url":"https://api.github.com/repos/dequelabs/axe-core/statuses/9787bcfc66257331385909e2b0beb01ef8f51f4f","head":{"label":"dequelabs:landmark-is-top","ref":"landmark-is-top","sha":"9787bcfc66257331385909e2b0beb01ef8f51f4f","user":{"login":"dequelabs","id":4094299,"avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":37205440,"name":"axe-core","full_name":"dequelabs/axe-core","owner":{"login":"dequelabs","id":4094299,"avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dequelabs/axe-core","description":"Accessibility engine for automated Web UI testing","fork":false,"url":"https://api.github.com/repos/dequelabs/axe-core","forks_url":"https://api.github.com/repos/dequelabs/axe-core/forks","keys_url":"https://api.github.com/repos/dequelabs/axe-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dequelabs/axe-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dequelabs/axe-core/teams","hooks_url":"https://api.github.com/repos/dequelabs/axe-core/hooks","issue_events_url":"https://api.github.com/repos/dequelabs/axe-core/issues/events{/number}","events_url":"https://api.github.com/repos/dequelabs/axe-core/events","assignees_url":"https://api.github.com/repos/dequelabs/axe-core/assignees{/user}","branches_url":"https://api.github.com/repos/dequelabs/axe-core/branches{/branch}","tags_url":"https://api.github.com/repos/dequelabs/axe-core/tags","blobs_url":"https://api.github.com/repos/dequelabs/axe-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dequelabs/axe-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dequelabs/axe-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/dequelabs/axe-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dequelabs/axe-core/statuses/{sha}","languages_url":"https://api.github.com/repos/dequelabs/axe-core/languages","stargazers_url":"https://api.github.com/repos/dequelabs/axe-core/stargazers","contributors_url":"https://api.github.com/repos/dequelabs/axe-core/contributors","subscribers_url":"https://api.github.com/repos/dequelabs/axe-core/subscribers","subscription_url":"https://api.github.com/repos/dequelabs/axe-core/subscription","commits_url":"https://api.github.com/repos/dequelabs/axe-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/dequelabs/axe-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/dequelabs/axe-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/dequelabs/axe-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/dequelabs/axe-core/contents/{+path}","compare_url":"https://api.github.com/repos/dequelabs/axe-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dequelabs/axe-core/merges","archive_url":"https://api.github.com/repos/dequelabs/axe-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dequelabs/axe-core/downloads","issues_url":"https://api.github.com/repos/dequelabs/axe-core/issues{/number}","pulls_url":"https://api.github.com/repos/dequelabs/axe-core/pulls{/number}","milestones_url":"https://api.github.com/repos/dequelabs/axe-core/milestones{/number}","notifications_url":"https://api.github.com/repos/dequelabs/axe-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dequelabs/axe-core/labels{/name}","releases_url":"https://api.github.com/repos/dequelabs/axe-core/releases{/id}","deployments_url":"https://api.github.com/repos/dequelabs/axe-core/deployments","created_at":"2015-06-10T15:26:45Z","updated_at":"2018-03-07T05:34:17Z","pushed_at":"2018-03-07T12:32:45Z","git_url":"git://github.com/dequelabs/axe-core.git","ssh_url":"git@github.com:dequelabs/axe-core.git","clone_url":"https://github.com/dequelabs/axe-core.git","svn_url":"https://github.com/dequelabs/axe-core","homepage":"https://www.axe-core.org/","size":3872,"stargazers_count":1363,"watchers_count":1363,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":193,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":193,"open_issues":100,"watchers":1363,"default_branch":"develop"}},"base":{"label":"dequelabs:develop","ref":"develop","sha":"e8e7ab8a797b99518a6a7bb57141c5eacc6c9c7f","user":{"login":"dequelabs","id":4094299,"avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":37205440,"name":"axe-core","full_name":"dequelabs/axe-core","owner":{"login":"dequelabs","id":4094299,"avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dequelabs/axe-core","description":"Accessibility engine for automated Web UI testing","fork":false,"url":"https://api.github.com/repos/dequelabs/axe-core","forks_url":"https://api.github.com/repos/dequelabs/axe-core/forks","keys_url":"https://api.github.com/repos/dequelabs/axe-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dequelabs/axe-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dequelabs/axe-core/teams","hooks_url":"https://api.github.com/repos/dequelabs/axe-core/hooks","issue_events_url":"https://api.github.com/repos/dequelabs/axe-core/issues/events{/number}","events_url":"https://api.github.com/repos/dequelabs/axe-core/events","assignees_url":"https://api.github.com/repos/dequelabs/axe-core/assignees{/user}","branches_url":"https://api.github.com/repos/dequelabs/axe-core/branches{/branch}","tags_url":"https://api.github.com/repos/dequelabs/axe-core/tags","blobs_url":"https://api.github.com/repos/dequelabs/axe-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dequelabs/axe-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dequelabs/axe-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/dequelabs/axe-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dequelabs/axe-core/statuses/{sha}","languages_url":"https://api.github.com/repos/dequelabs/axe-core/languages","stargazers_url":"https://api.github.com/repos/dequelabs/axe-core/stargazers","contributors_url":"https://api.github.com/repos/dequelabs/axe-core/contributors","subscribers_url":"https://api.github.com/repos/dequelabs/axe-core/subscribers","subscription_url":"https://api.github.com/repos/dequelabs/axe-core/subscription","commits_url":"https://api.github.com/repos/dequelabs/axe-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/dequelabs/axe-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/dequelabs/axe-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/dequelabs/axe-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/dequelabs/axe-core/contents/{+path}","compare_url":"https://api.github.com/repos/dequelabs/axe-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dequelabs/axe-core/merges","archive_url":"https://api.github.com/repos/dequelabs/axe-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dequelabs/axe-core/downloads","issues_url":"https://api.github.com/repos/dequelabs/axe-core/issues{/number}","pulls_url":"https://api.github.com/repos/dequelabs/axe-core/pulls{/number}","milestones_url":"https://api.github.com/repos/dequelabs/axe-core/milestones{/number}","notifications_url":"https://api.github.com/repos/dequelabs/axe-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dequelabs/axe-core/labels{/name}","releases_url":"https://api.github.com/repos/dequelabs/axe-core/releases{/id}","deployments_url":"https://api.github.com/repos/dequelabs/axe-core/deployments","created_at":"2015-06-10T15:26:45Z","updated_at":"2018-03-07T05:34:17Z","pushed_at":"2018-03-07T12:32:45Z","git_url":"git://github.com/dequelabs/axe-core.git","ssh_url":"git@github.com:dequelabs/axe-core.git","clone_url":"https://github.com/dequelabs/axe-core.git","svn_url":"https://github.com/dequelabs/axe-core","homepage":"https://www.axe-core.org/","size":3872,"stargazers_count":1363,"watchers_count":1363,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":193,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":193,"open_issues":100,"watchers":1363,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/761"},"html":{"href":"https://github.com/dequelabs/axe-core/pull/761"},"issue":{"href":"https://api.github.com/repos/dequelabs/axe-core/issues/761"},"comments":{"href":"https://api.github.com/repos/dequelabs/axe-core/issues/761/comments"},"review_comments":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/761/comments"},"review_comment":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dequelabs/axe-core/pulls/761/commits"},"statuses":{"href":"https://api.github.com/repos/dequelabs/axe-core/statuses/9787bcfc66257331385909e2b0beb01ef8f51f4f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"isner"}}