{"action":"created","issue":{"url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/236","repository_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal","labels_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/236/comments","events_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/236/events","html_url":"https://github.com/dougludlow/ng2-bs3-modal/issues/236","id":308429291,"number":236,"title":"focus coming out of Modal after pressing Tab key","user":{"login":"sripalreddyadamala","id":17653691,"avatar_url":"https://avatars1.githubusercontent.com/u/17653691?v=4","gravatar_id":"","url":"https://api.github.com/users/sripalreddyadamala","html_url":"https://github.com/sripalreddyadamala","followers_url":"https://api.github.com/users/sripalreddyadamala/followers","following_url":"https://api.github.com/users/sripalreddyadamala/following{/other_user}","gists_url":"https://api.github.com/users/sripalreddyadamala/gists{/gist_id}","starred_url":"https://api.github.com/users/sripalreddyadamala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sripalreddyadamala/subscriptions","organizations_url":"https://api.github.com/users/sripalreddyadamala/orgs","repos_url":"https://api.github.com/users/sripalreddyadamala/repos","events_url":"https://api.github.com/users/sripalreddyadamala/events{/privacy}","received_events_url":"https://api.github.com/users/sripalreddyadamala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T04:24:59Z","updated_at":"2018-03-26T22:21:46Z","closed_at":"2018-03-26T21:45:14Z","author_association":"NONE","body":"Hi,\r\n\r\nI am using ng2-bs3-modal@^0.13.0  modal component in one of our projects.\r\n\r\nOur requirement is to trap the focus inside the modal however the focus is moving outside of the modal on tabbing. It then stays outside the modal until it traverses all the tabs on the page.\r\n\r\nIs there a way you could keep the focus trapped inside the modal until the modal is closed? Or in other words it should continue looping with focus being within the modal.\r\n\r\nExpected behavior – Focus should be trapped inside the modal window and on closing it focus should move to the element which triggers the modal window.\r\n\r\nThis is critical interaction for AX users. Appreciate any support you can provide with regards to this.\r\n![image](https://user-images.githubusercontent.com/17653691/37886864-0f06cd4e-308c-11e8-9177-7d3cd122c93a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/comments/376331008","html_url":"https://github.com/dougludlow/ng2-bs3-modal/issues/236#issuecomment-376331008","issue_url":"https://api.github.com/repos/dougludlow/ng2-bs3-modal/issues/236","id":376331008,"user":{"login":"sripalreddyadamala","id":17653691,"avatar_url":"https://avatars1.githubusercontent.com/u/17653691?v=4","gravatar_id":"","url":"https://api.github.com/users/sripalreddyadamala","html_url":"https://github.com/sripalreddyadamala","followers_url":"https://api.github.com/users/sripalreddyadamala/followers","following_url":"https://api.github.com/users/sripalreddyadamala/following{/other_user}","gists_url":"https://api.github.com/users/sripalreddyadamala/gists{/gist_id}","starred_url":"https://api.github.com/users/sripalreddyadamala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sripalreddyadamala/subscriptions","organizations_url":"https://api.github.com/users/sripalreddyadamala/orgs","repos_url":"https://api.github.com/users/sripalreddyadamala/repos","events_url":"https://api.github.com/users/sripalreddyadamala/events{/privacy}","received_events_url":"https://api.github.com/users/sripalreddyadamala/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T22:21:44Z","updated_at":"2018-03-26T22:21:44Z","author_association":"NONE","body":"Actually no I am still working and I dont have a solution for it. I am\nactually using your modal in 10 places in my application and we are making\nour website with ADA complaince and I do not have a solution for it.\n\nThanks & Regards,\nSripal Adamala\nsripalui@gmail.com\n8315780693\n\nOn Mon, Mar 26, 2018 at 6:14 PM, Douglas Ludlow <notifications@github.com>\nwrote:\n\n> @sripalreddyadamala <https://github.com/sripalreddyadamala> were you able\n> to find a solution?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/dougludlow/ng2-bs3-modal/issues/236#issuecomment-376329479>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AQ1fu486FNAepQPJ9HMwAQQ8q5zjyAvNks5tiWhRgaJpZM4S6gK8>\n> .\n>\n"}}
{"actor":{"display_login":"sripalreddyadamala"}}