Skip to content

Commit

Permalink
Add accessibility to the menu on the navbar (go-gitea#23059)
Browse files Browse the repository at this point in the history
This PR is trying to add accessibility to the menu as mentioned in
go-gitea#23053 so the menu can be accessed using keyboard (A quick demo is added
below), with a reference to
[PR2612](go-gitea#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.
  • Loading branch information
HesterG committed Feb 23, 2023
1 parent aff432b commit ccc08a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/base/head_navbar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
</span>
</a>
{{end}}
<div class="ui icon button mobile-only" id="navbar-expand-toggle">
<button class="ui icon button mobile-only" id="navbar-expand-toggle">
{{svg "octicon-three-bars"}}
</div>
</button>
</div>
</div>

Expand Down

0 comments on commit ccc08a4

Please sign in to comment.