Attribute source of accessible navigation toggle script
This commit is contained in:
parent
d3c19d83fb
commit
821d523e03
|
@ -89,6 +89,8 @@
|
|||
</style>
|
||||
|
||||
<script defer>
|
||||
{# Accessible hamburger menu navigation script based on:
|
||||
https://accessibleweb.dev/navigation #}
|
||||
const navbarToggle = document.querySelector('.navbar__toggle');
|
||||
const navbarLinks = document.querySelector(".navbar__links");
|
||||
const navbarLinkItems = document.querySelectorAll(".navbar__links li a");
|
||||
|
|
Loading…
Reference in New Issue