MDL-67544 mod_forum: Add missing menuitem roles
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
{{#pix}} i/moremenu {{/pix}}
|
||||
</button>
|
||||
<!-- inline style to fix RTL placement bug -->
|
||||
<div class="dropdown-menu dropdown-menu-right rounded-lg shadow border-0" aria-labelledby="post-actions-menu-{{uniqid}}" style="right: auto">
|
||||
<div class="dropdown-menu dropdown-menu-right rounded-lg shadow border-0" aria-labelledby="post-actions-menu-{{uniqid}}" style="right: auto" role="menubar">
|
||||
{{#capabilities}}
|
||||
{{#view}}
|
||||
<a
|
||||
|
||||
@@ -200,6 +200,7 @@
|
||||
class="btn btn-link"
|
||||
title="{{#str}} permanentlinktopost, mod_forum {{/str}}"
|
||||
aria-label="{{#str}} permanentlinktopost, mod_forum {{/str}}"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} permalink, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -210,6 +211,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.markasread}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} markread, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -219,6 +221,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.markasunread}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} markunread, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -231,6 +234,7 @@
|
||||
class="btn btn-link"
|
||||
title="{{#str}} permanentlinktoparentpost, mod_forum {{/str}}"
|
||||
aria-label="{{#str}} permanentlinktoparentpost, mod_forum {{/str}}"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} parent, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -240,6 +244,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.edit}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} edit, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -249,6 +254,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.split}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} prune, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -258,6 +264,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.delete}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} delete, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -272,6 +279,7 @@
|
||||
data-action="collapsible-link"
|
||||
data-can-reply-privately="{{canreplyprivately}}"
|
||||
title="{{#str}} reply, mod_forum {{/str}}"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} reply, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -281,11 +289,12 @@
|
||||
{{#selfenrol}}
|
||||
{{$replyoutput}}
|
||||
<a
|
||||
href="{{{urls.reply}}}"
|
||||
class="btn btn-link"
|
||||
data-post-id="{{id}}"
|
||||
data-can-reply-privately="{{canreplyprivately}}"
|
||||
title="{{#str}} reply, mod_forum {{/str}}"
|
||||
href="{{{urls.reply}}}"
|
||||
class="btn btn-link"
|
||||
data-post-id="{{id}}"
|
||||
data-can-reply-privately="{{canreplyprivately}}"
|
||||
title="{{#str}} reply, mod_forum {{/str}}"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} reply, mod_forum {{/str}}
|
||||
</a>
|
||||
@@ -297,6 +306,7 @@
|
||||
data-region="post-action"
|
||||
href="{{{urls.export}}}"
|
||||
class="btn btn-link"
|
||||
role="menuitem"
|
||||
>
|
||||
{{#str}} addtoportfolio, core_portfolio {{/str}}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user