{"action":"opened","issue":{"url":"https://api.github.com/repos/xpepermint/angular-ui-switch/issues/20","labels_url":"https://api.github.com/repos/xpepermint/angular-ui-switch/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/xpepermint/angular-ui-switch/issues/20/comments","events_url":"https://api.github.com/repos/xpepermint/angular-ui-switch/issues/20/events","html_url":"https://github.com/xpepermint/angular-ui-switch/issues/20","id":93284423,"number":20,"title":"Improve Accessibility","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-06T13:56:05Z","updated_at":"2015-07-06T13:56:05Z","closed_at":null,"body":"By putting `display: none` on the input element, screen readers can't access it. See what [this post](http://codersblock.com/blog/checkbox-trickery-with-css) does to accomplish the same thing in an accessible way:\r\n\r\n> ```css\r\n> input {\r\n>     position: absolute;\r\n>     left: -9999px;\r\n> }\r\n> ```\r\n> Why not display: none? Because that would cause it to be ignored by screen readers and keyboard tabbing. This method keeps <input> in the flow, but hides it offscreen."}}