summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-04 22:31:59 +0800
committerGitHub <noreply@github.com>2024-03-04 14:31:59 +0000
commit797ad68964121d5fd0f936567397b3456b2f8d8b (patch)
tree0b5129814ccb1c259b43074ca01ee2368d0f9aed /templates/base
parent76789bdbcd88c02b306842c91da18d8255dd582b (diff)
downloadgitea-797ad68964121d5fd0f936567397b3456b2f8d8b.tar.gz
gitea-797ad68964121d5fd0f936567397b3456b2f8d8b.zip
Add aria-label to the navbar menu button (#29587)
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head_navbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index 3797de0a0f..51eeea405a 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -20,7 +20,7 @@
</div>
</a>
{{end}}
- <button class="item tw-w-auto ui icon mini button gt-p-3 gt-m-0" id="navbar-expand-toggle">{{svg "octicon-three-bars"}}</button>
+ <button class="item tw-w-auto ui icon mini button gt-p-3 gt-m-0" id="navbar-expand-toggle" aria-label="{{ctx.Locale.Tr "home.nav_menu"}}">{{svg "octicon-three-bars"}}</button>
</div>
<!-- navbar links non-mobile -->