mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-67544 mod_forum: Correct aria-labelledby node
This commit is contained in:
parent
17133749ab
commit
10999d33e5
2 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@
|
||||||
data-region="post"
|
data-region="post"
|
||||||
data-target="{{id}}-target"
|
data-target="{{id}}-target"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
aria-labelledby="post-header-{{id}}"
|
aria-labelledby="post-header-{{id}}-{{uniqid}}"
|
||||||
aria-describedby="post-content-{{id}}"
|
aria-describedby="post-content-{{id}}"
|
||||||
>
|
>
|
||||||
{{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
|
{{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="forum-post-core d-flex flex-column w-100" data-region-content="forum-post-core">
|
<div class="forum-post-core d-flex flex-column w-100" data-region-content="forum-post-core">
|
||||||
<header id="post-header-{{uniqid}}">
|
<header id="post-header-{{id}}-{{uniqid}}">
|
||||||
{{^isdeleted}}
|
{{^isdeleted}}
|
||||||
<div class="d-flex flex-wrap align-items-center mb-1">
|
<div class="d-flex flex-wrap align-items-center mb-1">
|
||||||
<address class="mb-0 mr-2" tabindex="-1">
|
<address class="mb-0 mr-2" tabindex="-1">
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
data-region="post"
|
data-region="post"
|
||||||
data-target="{{id}}-target"
|
data-target="{{id}}-target"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
aria-labelledby="post-header-{{id}}"
|
aria-labelledby="post-header-{{id}}-{{uniqid}}"
|
||||||
aria-describedby="post-content-{{id}}"
|
aria-describedby="post-content-{{id}}"
|
||||||
>
|
>
|
||||||
{{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
|
{{! The firstpost and starter classes below aren't used for anything other than to identify the first post in behat. }}
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
{{#isfirstunread}}<a id="unread" aria-hidden="true"></a>{{/isfirstunread}}
|
{{#isfirstunread}}<a id="unread" aria-hidden="true"></a>{{/isfirstunread}}
|
||||||
|
|
||||||
<div class="d-flex flex-column w-100" data-region-content="forum-post-core">
|
<div class="d-flex flex-column w-100" data-region-content="forum-post-core">
|
||||||
<header class="mb-2 header row d-flex">
|
<header id="post-header-{{id}}-{{uniqid}}" class="mb-2 header row d-flex">
|
||||||
{{^isdeleted}}
|
{{^isdeleted}}
|
||||||
{{#author}}
|
{{#author}}
|
||||||
<div class="mr-2" style="width: 45px;">
|
<div class="mr-2" style="width: 45px;">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue