MDL-61389 mod_forum: Descriptive aria-label for "Discuss this topic"
[moodle.git] / mod / forum / templates / social_discussion_list.mustache
index 6ec2219..d37e6d6 100644 (file)
            {{< mod_forum/forum_discussion_post }}
                {{$footer}}
                    <div class="link text-right">
-                       <a href="{{urls.discuss}}">{{#str}}discussthistopic, forum{{/str}}</a>&nbsp;({{#isreplyplural}}{{#str}} repliesmany, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}} repliesone, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{#discussionunreadscount}}
+                       <a href="{{urls.discuss}}"
+                          aria-label="{{#str}} discusstopicname, forum, {{subject}} {{/str}}">
+                           {{#str}}discussthistopic, forum{{/str}}
+                       </a>&nbsp;({{#isreplyplural}}{{#str}} repliesmany, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}} repliesone, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{#discussionunreadscount}}
                        <span class="sep">/</span>
                        <span class="unread"><a href="{{urls.discuss}}#unread">{{#isunreadplural}}{{#str}} unreadpostsnumber, mod_forum, {{discussionunreadscount}} {{/str}}{{/isunreadplural}}{{^isunreadplural}}{{#str}} unreadpostsone, mod_forum {{/str}}{{/isunreadplural}}</a></span>{{/discussionunreadscount}})
                    </div>