Rename navbar toggle ID
This commit is contained in:
parent
ef5a33fdd4
commit
1f689af4ed
|
@ -17,7 +17,7 @@ https://kalechips.net/projects/snippets/burger #}
|
||||||
<nav class="navbar" aria-labelledby="top-level-nav-title">
|
<nav class="navbar" aria-labelledby="top-level-nav-title">
|
||||||
<h2 class="visually-hidden" id="top-level-nav-title">Top Level Navigation Bar</h2>
|
<h2 class="visually-hidden" id="top-level-nav-title">Top Level Navigation Bar</h2>
|
||||||
<details class="navbar__burger">
|
<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">
|
<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"/>
|
<path d="M4 6H20M4 12H20M4 18H20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -27,7 +27,7 @@ https://kalechips.net/projects/snippets/burger #}
|
||||||
<h3 class="visually-hidden" id="hamburger-nav-title">Hamburger Menu</h3>
|
<h3 class="visually-hidden" id="hamburger-nav-title">Hamburger Menu</h3>
|
||||||
<ul class="navbar__menu--links">
|
<ul class="navbar__menu--links">
|
||||||
{{ navLinksEl | safe }}
|
{{ navLinksEl | safe }}
|
||||||
<li class="skip"><a href="#toggle">Close Menu</a></li>
|
<li class="skip"><a href="#navbar-toggle">Close Menu</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in New Issue