{"action":"created","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/15487","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/15487/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/15487/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/15487/events","html_url":"https://github.com/twbs/bootstrap/issues/15487","id":53329691,"number":15487,"title":":focus and .active styles indistinguishable on toggle buttons","user":{"login":"gmox","id":6823150,"avatar_url":"https://avatars.githubusercontent.com/u/6823150?v=3","gravatar_id":"","url":"https://api.github.com/users/gmox","html_url":"https://github.com/gmox","followers_url":"https://api.github.com/users/gmox/followers","following_url":"https://api.github.com/users/gmox/following{/other_user}","gists_url":"https://api.github.com/users/gmox/gists{/gist_id}","starred_url":"https://api.github.com/users/gmox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmox/subscriptions","organizations_url":"https://api.github.com/users/gmox/orgs","repos_url":"https://api.github.com/users/gmox/repos","events_url":"https://api.github.com/users/gmox/events{/privacy}","received_events_url":"https://api.github.com/users/gmox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twbs/bootstrap/labels/css","name":"css","color":"563d7c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-04T08:25:44Z","updated_at":"2015-01-04T12:45:41Z","closed_at":null,"body":"PoC: http://getbootstrap.com/javascript/#buttons-single-toggle\r\n\r\nIn Firefox 33.0 Ubuntu 14.06 LTS and Chrome 38 Ubuntu 14.06 LTS, the active button stays active until it is unfocused."},"comment":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/comments/68631646","html_url":"https://github.com/twbs/bootstrap/issues/15487#issuecomment-68631646","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/15487","id":68631646,"user":{"login":"patrickhlauke","id":895831,"avatar_url":"https://avatars.githubusercontent.com/u/895831?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickhlauke","html_url":"https://github.com/patrickhlauke","followers_url":"https://api.github.com/users/patrickhlauke/followers","following_url":"https://api.github.com/users/patrickhlauke/following{/other_user}","gists_url":"https://api.github.com/users/patrickhlauke/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickhlauke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickhlauke/subscriptions","organizations_url":"https://api.github.com/users/patrickhlauke/orgs","repos_url":"https://api.github.com/users/patrickhlauke/repos","events_url":"https://api.github.com/users/patrickhlauke/events{/privacy}","received_events_url":"https://api.github.com/users/patrickhlauke/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T12:45:41Z","updated_at":"2015-01-04T12:45:41Z","body":"yes, this is a shortcoming of the current styles - ``:focus`` and ``.active`` are indistinguishable, and since even when clicking with the mouse (rather than just moving to the button with the keyboard) the button receives ``:focus``, it's hard to tell the difference between a toggled button and one that's just been switched off... may have a look at this when I get a chance /cc @cvrebert "}}