Better a11y

This commit is contained in:
Louis-Maxime Piton 2025-05-20 17:52:32 +02:00
parent 7f946d4241
commit cedeb2908e
1 changed files with 2 additions and 2 deletions

View File

@ -97,10 +97,10 @@ if (frontmatter.toc) {
<use xlink:href="#chevron-expand" />
</svg>
</button>
<strong class="d-none d-md-block h6 my-2 ms-3">On this page</strong>
<strong class="d-none d-md-block h6 my-2 ms-3" id="docs-tocs">On this page</strong>
<hr class="d-none d-md-block my-2 ms-3" />
<div class="collapse bd-toc-collapse" id="tocContents">
<nav id="TableOfContents">
<nav id="TableOfContents" aria-labelledby="docs-tocs">
<TableOfContents headings={headings} />
</nav>
</div>