Rename navbar toggle ID

This commit is contained in:
Helen Chong 2024-07-14 21:04:55 +08:00
parent ef5a33fdd4
commit 1f689af4ed
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ https://kalechips.net/projects/snippets/burger #}
<nav class="navbar" aria-labelledby="top-level-nav-title">
<h2 class="visually-hidden" id="top-level-nav-title">Top Level Navigation Bar</h2>
<details class="navbar__burger">
<summary class="navbar__toggle" id="toggle">
<summary class="navbar__toggle" id="navbar-toggle">
<svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 6H20M4 12H20M4 18H20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
@ -27,7 +27,7 @@ https://kalechips.net/projects/snippets/burger #}
<h3 class="visually-hidden" id="hamburger-nav-title">Hamburger Menu</h3>
<ul class="navbar__menu--links">
{{ navLinksEl | safe }}
<li class="skip"><a href="#toggle">Close Menu</a></li>
<li class="skip"><a href="#navbar-toggle">Close Menu</a></li>
</ul>
</nav>
</details>