{"action":"created","comment":{"url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/comments/82783305","pull_request_review_id":3665760,"id":82783305,"diff_hunk":"@@ -2,6 +2,8 @@\n \n Enforce non-interactive DOM elements have no interactive handlers. Static elements such as `<div>` and `<span>` should not have mouse/keyboard event listeners. Instead use something more semantic, such as a button or a link.\n \n+Valid interactive elements are: `<a>`, `<area>`, `<button>`, `<input>`, `<option>`, `<select>`, or `<textarea>`.","path":"docs/rules/no-static-element-interactions.md","position":4,"original_position":4,"commit_id":"e9e1927af19aa52b2eab93f62b9dc5596459a9e7","original_commit_id":"e9e1927af19aa52b2eab93f62b9dc5596459a9e7","user":{"login":"evcohen","id":7098243,"avatar_url":"https://avatars.githubusercontent.com/u/7098243?v=3","gravatar_id":"","url":"https://api.github.com/users/evcohen","html_url":"https://github.com/evcohen","followers_url":"https://api.github.com/users/evcohen/followers","following_url":"https://api.github.com/users/evcohen/following{/other_user}","gists_url":"https://api.github.com/users/evcohen/gists{/gist_id}","starred_url":"https://api.github.com/users/evcohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evcohen/subscriptions","organizations_url":"https://api.github.com/users/evcohen/orgs","repos_url":"https://api.github.com/users/evcohen/repos","events_url":"https://api.github.com/users/evcohen/events{/privacy}","received_events_url":"https://api.github.com/users/evcohen/received_events","type":"User","site_admin":false},"body":"This is a great addition, thank you! Just a quick modification - `<a>` is not interactive unless it has either `href` or `tabIndex`, and `<input>` must not be `hidden`.\r\n\r\nLogic for this lives [here](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/src/util/isInteractiveElement.js#L6)","created_at":"2016-10-11T12:41:34Z","updated_at":"2016-10-11T12:41:54Z","html_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105#discussion_r82783305","pull_request_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/comments/82783305"},"html":{"href":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105#discussion_r82783305"},"pull_request":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105","id":88765164,"html_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105","diff_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105.diff","patch_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105.patch","issue_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/105","number":105,"state":"open","locked":false,"title":"[no-static-element-interactions] List valid interactive elements in docs","user":{"login":"vdh","id":573501,"avatar_url":"https://avatars.githubusercontent.com/u/573501?v=3","gravatar_id":"","url":"https://api.github.com/users/vdh","html_url":"https://github.com/vdh","followers_url":"https://api.github.com/users/vdh/followers","following_url":"https://api.github.com/users/vdh/following{/other_user}","gists_url":"https://api.github.com/users/vdh/gists{/gist_id}","starred_url":"https://api.github.com/users/vdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdh/subscriptions","organizations_url":"https://api.github.com/users/vdh/orgs","repos_url":"https://api.github.com/users/vdh/repos","events_url":"https://api.github.com/users/vdh/events{/privacy}","received_events_url":"https://api.github.com/users/vdh/received_events","type":"User","site_admin":false},"body":"Updated documentation for `no-static-element-interactions` to list the interactive elements defined in `isInteractiveElement`.\r\n\r\nThe conversations in #91 seems to indicate it would be good to have an explicit list of these elements?","created_at":"2016-10-11T03:20:22Z","updated_at":"2016-10-11T12:41:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f98e65ced64b1ab2a7e7847ceaee6a87409d129","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105/commits","review_comments_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105/comments","review_comment_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/105/comments","statuses_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/statuses/e9e1927af19aa52b2eab93f62b9dc5596459a9e7","head":{"label":"vdh:patch-1","ref":"patch-1","sha":"e9e1927af19aa52b2eab93f62b9dc5596459a9e7","user":{"login":"vdh","id":573501,"avatar_url":"https://avatars.githubusercontent.com/u/573501?v=3","gravatar_id":"","url":"https://api.github.com/users/vdh","html_url":"https://github.com/vdh","followers_url":"https://api.github.com/users/vdh/followers","following_url":"https://api.github.com/users/vdh/following{/other_user}","gists_url":"https://api.github.com/users/vdh/gists{/gist_id}","starred_url":"https://api.github.com/users/vdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdh/subscriptions","organizations_url":"https://api.github.com/users/vdh/orgs","repos_url":"https://api.github.com/users/vdh/repos","events_url":"https://api.github.com/users/vdh/events{/privacy}","received_events_url":"https://api.github.com/users/vdh/received_events","type":"User","site_admin":false},"repo":{"id":70551060,"name":"eslint-plugin-jsx-a11y","full_name":"vdh/eslint-plugin-jsx-a11y","owner":{"login":"vdh","id":573501,"avatar_url":"https://avatars.githubusercontent.com/u/573501?v=3","gravatar_id":"","url":"https://api.github.com/users/vdh","html_url":"https://github.com/vdh","followers_url":"https://api.github.com/users/vdh/followers","following_url":"https://api.github.com/users/vdh/following{/other_user}","gists_url":"https://api.github.com/users/vdh/gists{/gist_id}","starred_url":"https://api.github.com/users/vdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdh/subscriptions","organizations_url":"https://api.github.com/users/vdh/orgs","repos_url":"https://api.github.com/users/vdh/repos","events_url":"https://api.github.com/users/vdh/events{/privacy}","received_events_url":"https://api.github.com/users/vdh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vdh/eslint-plugin-jsx-a11y","description":"Static AST checker for a11y rules on JSX elements.","fork":true,"url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y","forks_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/forks","keys_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/teams","hooks_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/hooks","issue_events_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/issues/events{/number}","events_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/events","assignees_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/assignees{/user}","branches_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/branches{/branch}","tags_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/tags","blobs_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/git/refs{/sha}","trees_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/statuses/{sha}","languages_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/languages","stargazers_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/stargazers","contributors_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/contributors","subscribers_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/subscribers","subscription_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/subscription","commits_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/commits{/sha}","git_commits_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/git/commits{/sha}","comments_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/comments{/number}","issue_comment_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/issues/comments{/number}","contents_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/contents/{+path}","compare_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/merges","archive_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/downloads","issues_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/issues{/number}","pulls_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/pulls{/number}","milestones_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/milestones{/number}","notifications_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/labels{/name}","releases_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/releases{/id}","deployments_url":"https://api.github.com/repos/vdh/eslint-plugin-jsx-a11y/deployments","created_at":"2016-10-11T03:09:48Z","updated_at":"2016-10-11T03:09:50Z","pushed_at":"2016-10-11T03:18:55Z","git_url":"git://github.com/vdh/eslint-plugin-jsx-a11y.git","ssh_url":"git@github.com:vdh/eslint-plugin-jsx-a11y.git","clone_url":"https://github.com/vdh/eslint-plugin-jsx-a11y.git","svn_url":"https://github.com/vdh/eslint-plugin-jsx-a11y","homepage":"","size":351,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"evcohen:master","ref":"master","sha":"9b9c72b051d0518e317a4fb420270cfd85737e3c","user":{"login":"evcohen","id":7098243,"avatar_url":"https://avatars.githubusercontent.com/u/7098243?v=3","gravatar_id":"","url":"https://api.github.com/users/evcohen","html_url":"https://github.com/evcohen","followers_url":"https://api.github.com/users/evcohen/followers","following_url":"https://api.github.com/users/evcohen/following{/other_user}","gists_url":"https://api.github.com/users/evcohen/gists{/gist_id}","starred_url":"https://api.github.com/users/evcohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evcohen/subscriptions","organizations_url":"https://api.github.com/users/evcohen/orgs","repos_url":"https://api.github.com/users/evcohen/repos","events_url":"https://api.github.com/users/evcohen/events{/privacy}","received_events_url":"https://api.github.com/users/evcohen/received_events","type":"User","site_admin":false},"repo":{"id":51954402,"name":"eslint-plugin-jsx-a11y","full_name":"evcohen/eslint-plugin-jsx-a11y","owner":{"login":"evcohen","id":7098243,"avatar_url":"https://avatars.githubusercontent.com/u/7098243?v=3","gravatar_id":"","url":"https://api.github.com/users/evcohen","html_url":"https://github.com/evcohen","followers_url":"https://api.github.com/users/evcohen/followers","following_url":"https://api.github.com/users/evcohen/following{/other_user}","gists_url":"https://api.github.com/users/evcohen/gists{/gist_id}","starred_url":"https://api.github.com/users/evcohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evcohen/subscriptions","organizations_url":"https://api.github.com/users/evcohen/orgs","repos_url":"https://api.github.com/users/evcohen/repos","events_url":"https://api.github.com/users/evcohen/events{/privacy}","received_events_url":"https://api.github.com/users/evcohen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y","description":"Static AST checker for a11y rules on JSX elements.","fork":false,"url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y","forks_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/forks","keys_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/teams","hooks_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/hooks","issue_events_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/events{/number}","events_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/events","assignees_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/assignees{/user}","branches_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/branches{/branch}","tags_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/tags","blobs_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/git/refs{/sha}","trees_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/statuses/{sha}","languages_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/languages","stargazers_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/stargazers","contributors_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/contributors","subscribers_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/subscribers","subscription_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/subscription","commits_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/commits{/sha}","git_commits_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/git/commits{/sha}","comments_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/comments{/number}","issue_comment_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/comments{/number}","contents_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/contents/{+path}","compare_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/merges","archive_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/downloads","issues_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues{/number}","pulls_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls{/number}","milestones_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/milestones{/number}","notifications_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/labels{/name}","releases_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/releases{/id}","deployments_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/deployments","created_at":"2016-02-17T20:50:33Z","updated_at":"2016-10-11T04:35:30Z","pushed_at":"2016-10-11T12:10:13Z","git_url":"git://github.com/evcohen/eslint-plugin-jsx-a11y.git","ssh_url":"git@github.com:evcohen/eslint-plugin-jsx-a11y.git","clone_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y.git","svn_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y","homepage":"","size":407,"stargazers_count":207,"watchers_count":207,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":14,"forks":18,"open_issues":14,"watchers":207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105"},"html":{"href":"https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/105"},"issue":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/105"},"comments":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/statuses/e9e1927af19aa52b2eab93f62b9dc5596459a9e7"}}}}
{"actor":{"display_login":"evcohen"}}