Skip to content

Commit

Permalink
Add aria-label to menu collapse toggle (CFM-267)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Jun 13, 2023
1 parent 56514d4 commit a9fcb65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/resources/locales/en_US/menu.po
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ msgstr "Main Menu"
msgid "menu.user"
msgstr "User Menu"

msgid "menu.toggle"
msgstr "Toggle menu collapse button"

msgid "registries"
msgstr "Available {0} Registries"

Expand Down
2 changes: 1 addition & 1 deletion app/templates/element/menuMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
}
?>
</ul>
<button id="co-menu-collapse">
<button id="co-menu-collapse" aria-label="<?= __d('menu','menu.toggle') ?>">
<em class="material-icons-outlined co-menu-collapse-icon" aria-hidden="true">
expand_circle_down
</em>
Expand Down

0 comments on commit a9fcb65

Please sign in to comment.