{"action":"created","issue":{"url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/948","labels_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/948/labels{/name}","comments_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/948/comments","events_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/948/events","html_url":"https://github.com/rackerlabs/encore-ui/issues/948","id":75655974,"number":948,"title":"Update style guide for <label> best practices","user":{"login":"CITguy","id":545605,"avatar_url":"https://avatars.githubusercontent.com/u/545605?v=3","gravatar_id":"","url":"https://api.github.com/users/CITguy","html_url":"https://github.com/CITguy","followers_url":"https://api.github.com/users/CITguy/followers","following_url":"https://api.github.com/users/CITguy/following{/other_user}","gists_url":"https://api.github.com/users/CITguy/gists{/gist_id}","starred_url":"https://api.github.com/users/CITguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CITguy/subscriptions","organizations_url":"https://api.github.com/users/CITguy/orgs","repos_url":"https://api.github.com/users/CITguy/repos","events_url":"https://api.github.com/users/CITguy/events{/privacy}","received_events_url":"https://api.github.com/users/CITguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T16:19:52Z","updated_at":"2015-05-12T19:12:13Z","closed_at":null,"body":"It is considered best practice to have a `<label for=\"inputId\">` associated with checkbox and radio inputs (by clicking the label, the input is activated).  This should be documented in our style guide.\r\n\r\n**Checkbox w/ Label**\r\n```html\r\n<input type=\"checkbox\" id=\"chkDemo\" />\r\n<label for=\"chkDemo\">Demo Checkbox</label>\r\n```\r\n\r\n**Radio w/ Label**\r\n```html\r\n<input type=\"radio\" id=\"radDemo\" />\r\n<label for=\"radDemo\">Demo Radio</label>\r\n```"},"comment":{"url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/comments/101391066","html_url":"https://github.com/rackerlabs/encore-ui/issues/948#issuecomment-101391066","issue_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/948","id":101391066,"user":{"login":"CITguy","id":545605,"avatar_url":"https://avatars.githubusercontent.com/u/545605?v=3","gravatar_id":"","url":"https://api.github.com/users/CITguy","html_url":"https://github.com/CITguy","followers_url":"https://api.github.com/users/CITguy/followers","following_url":"https://api.github.com/users/CITguy/following{/other_user}","gists_url":"https://api.github.com/users/CITguy/gists{/gist_id}","starred_url":"https://api.github.com/users/CITguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CITguy/subscriptions","organizations_url":"https://api.github.com/users/CITguy/orgs","repos_url":"https://api.github.com/users/CITguy/repos","events_url":"https://api.github.com/users/CITguy/events{/privacy}","received_events_url":"https://api.github.com/users/CITguy/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T19:12:13Z","updated_at":"2015-05-12T19:12:13Z","body":"@glynnis, @ElementE, @parlarjb : any input?"}}