瀏覽代碼

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.
tags/v1.20.0-rc0
HesterG 1 年之前
父節點
當前提交
a78e0b7dad
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      templates/base/head_navbar.tmpl

+ 2
- 2
templates/base/head_navbar.tmpl 查看文件

@@ -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>


Loading…
取消
儲存