{"action":"opened","issue":{"url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/66","repository_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y","labels_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/66/comments","events_url":"https://api.github.com/repos/evcohen/eslint-plugin-jsx-a11y/issues/66/events","html_url":"https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/66","id":169902382,"number":66,"title":"Rule for inputs without an associated label","user":{"login":"badtant","id":400265,"avatar_url":"https://avatars.githubusercontent.com/u/400265?v=3","gravatar_id":"","url":"https://api.github.com/users/badtant","html_url":"https://github.com/badtant","followers_url":"https://api.github.com/users/badtant/followers","following_url":"https://api.github.com/users/badtant/following{/other_user}","gists_url":"https://api.github.com/users/badtant/gists{/gist_id}","starred_url":"https://api.github.com/users/badtant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badtant/subscriptions","organizations_url":"https://api.github.com/users/badtant/orgs","repos_url":"https://api.github.com/users/badtant/repos","events_url":"https://api.github.com/users/badtant/events{/privacy}","received_events_url":"https://api.github.com/users/badtant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-08T11:35:40Z","updated_at":"2016-08-08T11:35:40Z","closed_at":null,"body":"Is there a rule for making sure every input has an associated label? I've switched on the rule \"label-has-for\" but it only checks whether the label has a for attribute. Lets say I just have an input and no label to it, that should produce an error.\r\n\r\n<input type=\"text\" id=\"id1\" />\r\n\r\nVS\r\n\r\n<label for=\"id1\">Some text</label>\r\n<input type=\"text\" id=\"id1\" />"}}
{"actor":{"display_login":"badtant"}}