{"action":"created","issue":{"url":"https://api.github.com/repos/jssor/slider/issues/69","labels_url":"https://api.github.com/repos/jssor/slider/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/jssor/slider/issues/69/comments","events_url":"https://api.github.com/repos/jssor/slider/issues/69/events","html_url":"https://github.com/jssor/slider/issues/69","id":53483835,"number":69,"title":"\"Pause\" accessibility requirement","user":{"login":"arangas","id":132198,"avatar_url":"https://avatars.githubusercontent.com/u/132198?v=3","gravatar_id":"","url":"https://api.github.com/users/arangas","html_url":"https://github.com/arangas","followers_url":"https://api.github.com/users/arangas/followers","following_url":"https://api.github.com/users/arangas/following{/other_user}","gists_url":"https://api.github.com/users/arangas/gists{/gist_id}","starred_url":"https://api.github.com/users/arangas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arangas/subscriptions","organizations_url":"https://api.github.com/users/arangas/orgs","repos_url":"https://api.github.com/users/arangas/repos","events_url":"https://api.github.com/users/arangas/events{/privacy}","received_events_url":"https://api.github.com/users/arangas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-06T05:53:54Z","updated_at":"2015-01-08T05:50:16Z","closed_at":"2015-01-08T05:50:16Z","body":"Hello,\r\n\r\nI'm using the slider in a site that has the accessibility requirement of WCAG 2.0 Level A compliance. It works well navigating by keyboard, but I have found an issue satisfying [Guideline 2.2: Provide users enough time to read and use content](http://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits.html).\r\n\r\nThe $PauseOnHover option comes close, but really it needs to pause **on focus** for users that can only navigate by keyboard. Is there another way to do this? If not is it possible to add this as a new switch or flag on this existing one?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jssor/slider/issues/comments/69139119","html_url":"https://github.com/jssor/slider/issues/69#issuecomment-69139119","issue_url":"https://api.github.com/repos/jssor/slider/issues/69","id":69139119,"user":{"login":"arangas","id":132198,"avatar_url":"https://avatars.githubusercontent.com/u/132198?v=3","gravatar_id":"","url":"https://api.github.com/users/arangas","html_url":"https://github.com/arangas","followers_url":"https://api.github.com/users/arangas/followers","following_url":"https://api.github.com/users/arangas/following{/other_user}","gists_url":"https://api.github.com/users/arangas/gists{/gist_id}","starred_url":"https://api.github.com/users/arangas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arangas/subscriptions","organizations_url":"https://api.github.com/users/arangas/orgs","repos_url":"https://api.github.com/users/arangas/repos","events_url":"https://api.github.com/users/arangas/events{/privacy}","received_events_url":"https://api.github.com/users/arangas/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T05:50:16Z","updated_at":"2015-01-08T05:50:16Z","body":"Based on your advice, I used the following code which works as specified:\r\n\r\n```javascript\r\nvar jssor_slider1 = new $JssorSlider$('slider', options);\r\n\r\n$Jssor$.$AddEvent(jssor_slider1.$Elmt, \"focusin\", function () {\r\n    console.log('focusin');\r\n    jssor_slider1.$Pause();\r\n});\r\n\r\n$Jssor$.$AddEvent(jssor_slider1.$Elmt, \"focusout\", function () {\r\n    console.log('focusout');\r\n    jssor_slider1.$Play();\r\n});\r\n```\r\n"}}