Skip to content

Commit a6c9415

Browse files
committed
fix: improve accessibility of sidebar toggle button
1 parent 99c3695 commit a6c9415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/render/tpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function main(config) {
4343
? ''
4444
: `
4545
<button class="sidebar-toggle" tabindex="-1" title="Press \\ to toggle">
46-
<div class="sidebar-toggle-button" tabindex="0" aria-label="Toggle primary navigation" aria-keyshortcuts="\\" aria-controls="__sidebar" role="button">
46+
<div class="sidebar-toggle-button" tabindex="0" aria-label="Hide primary navigation, Use shortcut key \\" aria-keyshortcuts="\\" aria-controls="__sidebar" role="button">
4747
<span></span><span></span><span></span>
4848
</div>
4949
</button>

0 commit comments

Comments
 (0)