mirror of https://github.com/go-gitea/gitea.git
Add aria-label to the navbar menu button (#29587)
This commit is contained in:
parent
76789bdbcd
commit
797ad68964
|
@ -320,6 +320,7 @@ env_config_keys = Environment Configuration
|
|||
env_config_keys_prompt = The following environment variables will also be applied to your configuration file:
|
||||
|
||||
[home]
|
||||
nav_menu = Navigation Menu
|
||||
uname_holder = Username or Email Address
|
||||
password_holder = Password
|
||||
switch_dashboard_context = Switch Dashboard Context
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue