Skip to content

Commit ced94f2

Browse files
authored
Add accessibility to the menu on the navbar (#23059) (#23095)
Backport #23059 This PR is trying to add accessibility to the menu as mentioned in #23053 so the menu can be accessed using keyboard (A quick demo is added below), with a reference to [PR2612](#22612). The goal is to make the menu accessible merely using keyboard like shown below. And this PR might need confirmation from developers using screen readers.
1 parent aff432b commit ced94f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/base/head_navbar.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
</span>
1919
</a>
2020
{{end}}
21-
<div class="ui icon button mobile-only" id="navbar-expand-toggle">
21+
<button class="ui icon button mobile-only" id="navbar-expand-toggle">
2222
{{svg "octicon-three-bars"}}
23-
</div>
23+
</button>
2424
</div>
2525
</div>
2626

0 commit comments

Comments
 (0)