Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

Add accessibility to the menu on the navbar (#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](https://github.com/go-gitea/gitea/pull/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.
This commit is contained in:
HesterG 2023-02-23 05:58:07 +08:00 committed by GitHub
parent 1319ba6742
commit a78e0b7dad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,9 +18,9 @@
</span> </span>
</a> </a>
{{end}} {{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"}} {{svg "octicon-three-bars"}}
</div> </button>
</div> </div>
</div> </div>