commit 5bb49e8907ef955fd88582629dd45a83fdca2fcd parent 4381328c96d11fd1e47d30783c393549dc49baa3 Author: Hugo Soucy <hugo@soucy.cc> Date: Wed, 27 Sep 2017 10:46:38 -0400 Add a new mustache/js template to have focus trap Diffstat:
A | templates/mustache/partials/nav.trap.mustache | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/templates/mustache/partials/nav.trap.mustache b/templates/mustache/partials/nav.trap.mustache @@ -0,0 +1,3 @@ +<script id="navTrapTpl" type="text/tpl"> + <button class="nav__trap visuallyhidden">Focus Trap</button> +</script>