diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-03-04 22:31:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 14:31:59 +0000 |
commit | 797ad68964121d5fd0f936567397b3456b2f8d8b (patch) | |
tree | 0b5129814ccb1c259b43074ca01ee2368d0f9aed /templates/base | |
parent | 76789bdbcd88c02b306842c91da18d8255dd582b (diff) | |
download | gitea-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.tmpl | 2 |
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 --> |