diff --git a/mod/forum/lang/en/forum.php b/mod/forum/lang/en/forum.php index 331e5c0d5dc2f..2d4fb2a313c97 100644 --- a/mod/forum/lang/en/forum.php +++ b/mod/forum/lang/en/forum.php @@ -691,6 +691,7 @@ $string['timedposts'] = 'Timed posts'; $string['timedvisible'] = 'Timed status: Visible to all users'; $string['timestartenderror'] = 'Display end date cannot be earlier than the start date'; +$string['togglediscussionmenu'] = 'Toggle the discussion menu'; $string['togglefullscreen'] = 'Toggle full screen'; $string['togglesettingsdrawer'] = 'Toggle settings drawer'; $string['trackforum'] = 'Track unread posts'; diff --git a/mod/forum/templates/forum_action_menu.mustache b/mod/forum/templates/forum_action_menu.mustache index 23750ca2105f1..03aa1d9c226fe 100644 --- a/mod/forum/templates/forum_action_menu.mustache +++ b/mod/forum/templates/forum_action_menu.mustache @@ -56,6 +56,7 @@ aria-haspopup="true" tabindex="0" aria-controls="forum-action-menu-{{id}}-menu" + aria-label="{{#str}}togglediscussionmenu, mod_forum{{/str}}" aria-expanded="false"> {{#settings.togglemoreicon}} {{#pix}} i/menu, core{{/pix}}