feat(accessibility): enhance accessibility features across components and improve focus management (#725)

This commit is contained in:
Cell
2026-04-03 18:00:17 +08:00
committed by GitHub
parent b172fd416d
commit 29ece68332
12 changed files with 89 additions and 39 deletions
+1 -1
View File
@@ -241,7 +241,7 @@
{{- if $showToc -}}
<dialog id="toc-dialog" aria-labelledby="toc-dialog-title" role="dialog">
<div class="toc">
<h2 class="toc-title">{{ T "single.contents" }}</h2>
<h2 class="toc-title" id="toc-dialog-title">{{ T "single.contents" }}</h2>
<div class="toc-content" id="toc-content-drawer">
{{- replace $tableOfContents `id="TableOfContents"` "" | safeHTML -}}
</div>