Comments (2)
I think this request is out of scope, as it alters the default behavior of the browser. This is probably something you'd have to implement yourself by adding traps to the keyboard event and setting tabindex inside the modal.
from ng2-bs3-modal.
Hi wartab,
Thanks for the reply. Initially I thought it was out of scope but when I look in to w3.org website modal focus is trapped inside the modal and even in bootstrap & angular material implementation they are trapping focus inside the modal itself and here are few examples Which I have collected.
https://www.w3.org/TR/2017/NOTE-wai-aria-practices-1.1-20171214/examples/dialog-modal/dialog.html
https://material.angular.io/components/dialog/overview
https://getbootstrap.com/docs/3.3/javascript/
from ng2-bs3-modal.
Related Issues (20)
- Cannot read property 'open' of undefined ? HOT 2
- Triggering function before @HostListener('onOpen') is triggered.
- Bug when opening a second modal if the first one is still clossing
- focus coming out of Modal after pressing Tab key HOT 2
- Doesn't work with RXJS 6 (Angular 6) HOT 2
- dist pakage to be created HOT 4
- Angular 6 HOT 11
- [showDismiss]="true" shifts title to the right crammed with X
- Need an example to wrap modal into a component HOT 3
- ERROR TypeError: this.$modal.modal is not a function HOT 2
- modal.visible is not set to false when closing modal via data-dismiss. HOT 1
- Bootstrap 4 Version HOT 2
- Add Test Examples HOT 1
- Using swipe Gestures on Modal in both android & ios devices screen reader reads body content HOT 3
- Modal Component support in Angular 2.0 HOT 1
- Model-Component Does Not Destroy the Whole Modal Component on Close
- Backdrop styling per modal HOT 6
- Mouseup outside of modal during text selection closes modal
- ERROR in node_modules/ng2-bs4-modal/lib/components/modal-header.d.ts.ModalHeaderComponent.html(4,107): : Property 'modal' is private and only accessible within class 'ModalHeaderComponent'.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-bs3-modal.