When using Angular-UI Bootstrap to open a modal, I noticed that when pressing the 'tab' key to cycle through elements within the modal window, it sometimes starts selecting elements that are behind the modal itself.
If you want to see this in action, you can visit: http://angular-ui.github.io/bootstrap/ and navigate to the modal section.
It's worth noting that Angular-UI bootstrap is based on Twitter Bootstrap. Interestingly, Twitter Bootstrap does not seem to have the same issue. I have tested versions 3.1.1 and 3.2.
To see the desired behavior demonstrated: - For version 3.2: http://getbootstrap.com/javascript/#modals - For version 3.1.1:
I'm curious about how Bootstrap manages to prevent users from inadvertently selecting elements that are located behind the Modal window when cycling through with the tab key. Any insights?