Skip to content

Commit

Permalink
MDL-67544 mod_forum: Add missing aria label for discussion actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jan 6, 2020
1 parent 949d3f1 commit 9e57c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/forum/lang/en/forum.php
Expand Up @@ -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';
Expand Down
1 change: 1 addition & 0 deletions mod/forum/templates/forum_action_menu.mustache
Expand Up @@ -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}}
Expand Down

0 comments on commit 9e57c09

Please sign in to comment.