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 8, 2020
1 parent b2c0237 commit b395834
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 @@ -632,6 +632,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['trackforum'] = 'Track unread posts';
$string['trackreadposts_header'] = 'Forum tracking';
$string['tracking'] = 'Track';
Expand Down
1 change: 1 addition & 0 deletions mod/forum/templates/forum_action_menu.mustache
Expand Up @@ -32,6 +32,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/moremenu, core{{/pix}}
Expand Down

0 comments on commit b395834

Please sign in to comment.