{"action":"created","comment":{"url":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments/176490796","pull_request_review_id":106204129,"id":176490796,"diff_hunk":"@@ -120,8 +120,13 @@ const CheckboxLabel = styled('label')`\n  */\n const Checkbox = ({ onToggle, children, name, ...props }) => (\n   <Fragment>\n-    <CheckboxInput id={name} type=\"checkbox\" {...{ ...props, name }} />\n-    <CheckboxLabel htmlFor={name} onClick={onToggle} {...{ ...props }}>\n+    <CheckboxInput\n+      id={name}\n+      onClick={onToggle}\n+      type=\"checkbox\"\n+      {...{ ...props, name }}\n+    />\n+    <CheckboxLabel htmlFor={name} {...{ ...props }}>","path":"src/components/Checkbox/Checkbox.js","position":12,"original_position":12,"commit_id":"697394bc53cdd87150ab6993547af36ee966604c","original_commit_id":"697394bc53cdd87150ab6993547af36ee966604c","user":{"login":"felixjung","id":265947,"avatar_url":"https://avatars1.githubusercontent.com/u/265947?v=4","gravatar_id":"","url":"https://api.github.com/users/felixjung","html_url":"https://github.com/felixjung","followers_url":"https://api.github.com/users/felixjung/followers","following_url":"https://api.github.com/users/felixjung/following{/other_user}","gists_url":"https://api.github.com/users/felixjung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixjung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixjung/subscriptions","organizations_url":"https://api.github.com/users/felixjung/orgs","repos_url":"https://api.github.com/users/felixjung/repos","events_url":"https://api.github.com/users/felixjung/events{/privacy}","received_events_url":"https://api.github.com/users/felixjung/received_events","type":"User","site_admin":false},"body":"This double spread is not necessary. Since `props` is an object, you can just do `{...props}` once.","created_at":"2018-03-22T16:42:47Z","updated_at":"2018-03-22T16:52:45Z","html_url":"https://github.com/sumup/circuit-ui/pull/125#discussion_r176490796","pull_request_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/125","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments/176490796"},"html":{"href":"https://github.com/sumup/circuit-ui/pull/125#discussion_r176490796"},"pull_request":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/sumup/circuit-ui/pulls/125","id":176419651,"html_url":"https://github.com/sumup/circuit-ui/pull/125","diff_url":"https://github.com/sumup/circuit-ui/pull/125.diff","patch_url":"https://github.com/sumup/circuit-ui/pull/125.patch","issue_url":"https://api.github.com/repos/sumup/circuit-ui/issues/125","number":125,"state":"open","locked":false,"title":"Improve accessibility","user":{"login":"connor-baer","id":11017722,"avatar_url":"https://avatars0.githubusercontent.com/u/11017722?v=4","gravatar_id":"","url":"https://api.github.com/users/connor-baer","html_url":"https://github.com/connor-baer","followers_url":"https://api.github.com/users/connor-baer/followers","following_url":"https://api.github.com/users/connor-baer/following{/other_user}","gists_url":"https://api.github.com/users/connor-baer/gists{/gist_id}","starred_url":"https://api.github.com/users/connor-baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor-baer/subscriptions","organizations_url":"https://api.github.com/users/connor-baer/orgs","repos_url":"https://api.github.com/users/connor-baer/repos","events_url":"https://api.github.com/users/connor-baer/events{/privacy}","received_events_url":"https://api.github.com/users/connor-baer/received_events","type":"User","site_admin":false},"body":"## Changes\r\n\r\n- Improve keyboard and screen reader accessibility of `<Toggle/>` component\r\n-  Restore keyboard accessibility of `<Checkbox/>` and `<RadioButton/>` components","created_at":"2018-03-21T09:32:50Z","updated_at":"2018-03-22T16:52:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e246a819a2ca56452e834bcb8305632aacef809","assignee":{"login":"connor-baer","id":11017722,"avatar_url":"https://avatars0.githubusercontent.com/u/11017722?v=4","gravatar_id":"","url":"https://api.github.com/users/connor-baer","html_url":"https://github.com/connor-baer","followers_url":"https://api.github.com/users/connor-baer/followers","following_url":"https://api.github.com/users/connor-baer/following{/other_user}","gists_url":"https://api.github.com/users/connor-baer/gists{/gist_id}","starred_url":"https://api.github.com/users/connor-baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor-baer/subscriptions","organizations_url":"https://api.github.com/users/connor-baer/orgs","repos_url":"https://api.github.com/users/connor-baer/repos","events_url":"https://api.github.com/users/connor-baer/events{/privacy}","received_events_url":"https://api.github.com/users/connor-baer/received_events","type":"User","site_admin":false},"assignees":[{"login":"connor-baer","id":11017722,"avatar_url":"https://avatars0.githubusercontent.com/u/11017722?v=4","gravatar_id":"","url":"https://api.github.com/users/connor-baer","html_url":"https://github.com/connor-baer","followers_url":"https://api.github.com/users/connor-baer/followers","following_url":"https://api.github.com/users/connor-baer/following{/other_user}","gists_url":"https://api.github.com/users/connor-baer/gists{/gist_id}","starred_url":"https://api.github.com/users/connor-baer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connor-baer/subscriptions","organizations_url":"https://api.github.com/users/connor-baer/orgs","repos_url":"https://api.github.com/users/connor-baer/repos","events_url":"https://api.github.com/users/connor-baer/events{/privacy}","received_events_url":"https://api.github.com/users/connor-baer/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"jul1an","id":456838,"avatar_url":"https://avatars1.githubusercontent.com/u/456838?v=4","gravatar_id":"","url":"https://api.github.com/users/jul1an","html_url":"https://github.com/jul1an","followers_url":"https://api.github.com/users/jul1an/followers","following_url":"https://api.github.com/users/jul1an/following{/other_user}","gists_url":"https://api.github.com/users/jul1an/gists{/gist_id}","starred_url":"https://api.github.com/users/jul1an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jul1an/subscriptions","organizations_url":"https://api.github.com/users/jul1an/orgs","repos_url":"https://api.github.com/users/jul1an/repos","events_url":"https://api.github.com/users/jul1an/events{/privacy}","received_events_url":"https://api.github.com/users/jul1an/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":810168947,"url":"https://api.github.com/repos/sumup/circuit-ui/labels/done","name":"done","color":"4f80bc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/125/commits","review_comments_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/125/comments","review_comment_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/issues/125/comments","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/697394bc53cdd87150ab6993547af36ee966604c","head":{"label":"sumup:enhancement/accessibility-improvements","ref":"enhancement/accessibility-improvements","sha":"697394bc53cdd87150ab6993547af36ee966604c","user":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"repo":{"id":95433249,"name":"circuit-ui","full_name":"sumup/circuit-ui","owner":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumup/circuit-ui","description":"React component library for sumup web apps","fork":false,"url":"https://api.github.com/repos/sumup/circuit-ui","forks_url":"https://api.github.com/repos/sumup/circuit-ui/forks","keys_url":"https://api.github.com/repos/sumup/circuit-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumup/circuit-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumup/circuit-ui/teams","hooks_url":"https://api.github.com/repos/sumup/circuit-ui/hooks","issue_events_url":"https://api.github.com/repos/sumup/circuit-ui/issues/events{/number}","events_url":"https://api.github.com/repos/sumup/circuit-ui/events","assignees_url":"https://api.github.com/repos/sumup/circuit-ui/assignees{/user}","branches_url":"https://api.github.com/repos/sumup/circuit-ui/branches{/branch}","tags_url":"https://api.github.com/repos/sumup/circuit-ui/tags","blobs_url":"https://api.github.com/repos/sumup/circuit-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumup/circuit-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumup/circuit-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumup/circuit-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/sumup/circuit-ui/languages","stargazers_url":"https://api.github.com/repos/sumup/circuit-ui/stargazers","contributors_url":"https://api.github.com/repos/sumup/circuit-ui/contributors","subscribers_url":"https://api.github.com/repos/sumup/circuit-ui/subscribers","subscription_url":"https://api.github.com/repos/sumup/circuit-ui/subscription","commits_url":"https://api.github.com/repos/sumup/circuit-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumup/circuit-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumup/circuit-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumup/circuit-ui/contents/{+path}","compare_url":"https://api.github.com/repos/sumup/circuit-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumup/circuit-ui/merges","archive_url":"https://api.github.com/repos/sumup/circuit-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumup/circuit-ui/downloads","issues_url":"https://api.github.com/repos/sumup/circuit-ui/issues{/number}","pulls_url":"https://api.github.com/repos/sumup/circuit-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/sumup/circuit-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/sumup/circuit-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumup/circuit-ui/labels{/name}","releases_url":"https://api.github.com/repos/sumup/circuit-ui/releases{/id}","deployments_url":"https://api.github.com/repos/sumup/circuit-ui/deployments","created_at":"2017-06-26T09:57:50Z","updated_at":"2018-03-22T10:54:31Z","pushed_at":"2018-03-22T15:50:45Z","git_url":"git://github.com/sumup/circuit-ui.git","ssh_url":"git@github.com:sumup/circuit-ui.git","clone_url":"https://github.com/sumup/circuit-ui.git","svn_url":"https://github.com/sumup/circuit-ui","homepage":"https://sumup.github.io/circuit-ui","size":4357,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":3,"open_issues":28,"watchers":16,"default_branch":"master"}},"base":{"label":"sumup:master","ref":"master","sha":"11dc023b67c79fd78bc0c0abdd6cd931ccafc705","user":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"repo":{"id":95433249,"name":"circuit-ui","full_name":"sumup/circuit-ui","owner":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumup/circuit-ui","description":"React component library for sumup web apps","fork":false,"url":"https://api.github.com/repos/sumup/circuit-ui","forks_url":"https://api.github.com/repos/sumup/circuit-ui/forks","keys_url":"https://api.github.com/repos/sumup/circuit-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumup/circuit-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumup/circuit-ui/teams","hooks_url":"https://api.github.com/repos/sumup/circuit-ui/hooks","issue_events_url":"https://api.github.com/repos/sumup/circuit-ui/issues/events{/number}","events_url":"https://api.github.com/repos/sumup/circuit-ui/events","assignees_url":"https://api.github.com/repos/sumup/circuit-ui/assignees{/user}","branches_url":"https://api.github.com/repos/sumup/circuit-ui/branches{/branch}","tags_url":"https://api.github.com/repos/sumup/circuit-ui/tags","blobs_url":"https://api.github.com/repos/sumup/circuit-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumup/circuit-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumup/circuit-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumup/circuit-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/sumup/circuit-ui/languages","stargazers_url":"https://api.github.com/repos/sumup/circuit-ui/stargazers","contributors_url":"https://api.github.com/repos/sumup/circuit-ui/contributors","subscribers_url":"https://api.github.com/repos/sumup/circuit-ui/subscribers","subscription_url":"https://api.github.com/repos/sumup/circuit-ui/subscription","commits_url":"https://api.github.com/repos/sumup/circuit-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumup/circuit-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumup/circuit-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumup/circuit-ui/contents/{+path}","compare_url":"https://api.github.com/repos/sumup/circuit-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumup/circuit-ui/merges","archive_url":"https://api.github.com/repos/sumup/circuit-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumup/circuit-ui/downloads","issues_url":"https://api.github.com/repos/sumup/circuit-ui/issues{/number}","pulls_url":"https://api.github.com/repos/sumup/circuit-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/sumup/circuit-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/sumup/circuit-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumup/circuit-ui/labels{/name}","releases_url":"https://api.github.com/repos/sumup/circuit-ui/releases{/id}","deployments_url":"https://api.github.com/repos/sumup/circuit-ui/deployments","created_at":"2017-06-26T09:57:50Z","updated_at":"2018-03-22T10:54:31Z","pushed_at":"2018-03-22T15:50:45Z","git_url":"git://github.com/sumup/circuit-ui.git","ssh_url":"git@github.com:sumup/circuit-ui.git","clone_url":"https://github.com/sumup/circuit-ui.git","svn_url":"https://github.com/sumup/circuit-ui","homepage":"https://sumup.github.io/circuit-ui","size":4357,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":3,"open_issues":28,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/125"},"html":{"href":"https://github.com/sumup/circuit-ui/pull/125"},"issue":{"href":"https://api.github.com/repos/sumup/circuit-ui/issues/125"},"comments":{"href":"https://api.github.com/repos/sumup/circuit-ui/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/sumup/circuit-ui/statuses/697394bc53cdd87150ab6993547af36ee966604c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"felixjung"}}