Focus trap

In order to aid with accessibility you need to add focus trapping to dom elements such as modals etc.

We've made that simple. Just add the following script tag to the end of your file.


<script src="assets/js/focus-trap.js"/>

For usage please see modal components