Skip to content

Commit 797ad68

Browse files
authored
Add aria-label to the navbar menu button (#29587)
1 parent 76789bd commit 797ad68

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ env_config_keys = Environment Configuration
320320
env_config_keys_prompt = The following environment variables will also be applied to your configuration file:
321321

322322
[home]
323+
nav_menu = Navigation Menu
323324
uname_holder = Username or Email Address
324325
password_holder = Password
325326
switch_dashboard_context = Switch Dashboard Context
@@ -654,7 +655,7 @@ block.note.title = Optional note:
654655
block.note.info = The note is not visible to the blocked user.
655656
block.note.edit = Edit note
656657
block.list = Blocked users
657-
block.list.none = You have not blocked any users.
658+
block.list.none = You have not blocked any users.
658659
659660
[settings]
660661
profile = Profile

templates/base/head_navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</div>
2121
</a>
2222
{{end}}
23-
<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>
23+
<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>
2424
</div>
2525

2626
<!-- navbar links non-mobile -->

0 commit comments

Comments
 (0)