mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-67544 mod_forum: Correct aria-labelledby node
This commit is contained in:
parent
17133749ab
commit
10999d33e5
@ -36,7 +36,7 @@
|
||||
data-region="post"
|
||||
data-target="{{id}}-target"
|
||||
tabindex="0"
|
||||
aria-labelledby="post-header-{{id}}"
|
||||
aria-labelledby="post-header-{{id}}-{{uniqid}}"
|
||||
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. }}
|
||||
@ -74,7 +74,7 @@
|
||||
</div>
|
||||
|
||||
<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}}
|
||||
<div class="d-flex flex-wrap align-items-center mb-1">
|
||||
<address class="mb-0 mr-2" tabindex="-1">
|
||||
|
@ -36,7 +36,7 @@
|
||||
data-region="post"
|
||||
data-target="{{id}}-target"
|
||||
tabindex="0"
|
||||
aria-labelledby="post-header-{{id}}"
|
||||
aria-labelledby="post-header-{{id}}-{{uniqid}}"
|
||||
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. }}
|
||||
@ -48,7 +48,7 @@
|
||||
{{#isfirstunread}}<a id="unread" aria-hidden="true"></a>{{/isfirstunread}}
|
||||
|
||||
<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}}
|
||||
{{#author}}
|
||||
<div class="mr-2" style="width: 45px;">
|
||||
|
Loading…
x
Reference in New Issue
Block a user