Skip to content

Commit

Permalink
MDL-78528 course: Use h2 to avoid skipped headings
Browse files Browse the repository at this point in the history
Use h2 headings instead of h3 for the activity headings to avoid having
skipped headings on the Default activity completion page.
  • Loading branch information
junpataleta authored and HuongNV13 committed Aug 10, 2023
1 parent 44787c3 commit e99eacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/templates/defaultactivitycompletion.mustache
Expand Up @@ -64,7 +64,7 @@
<span class="sr-only">{{#str}} collapsecategory, core, {{formatedname}} {{/str}}</span>
</span>
<img class="iconlarge activityicon ml-4" src="{{icon}}" alt="" aria-hidden="true">
<h3 class="activityname ml-3 mb-0">{{{formattedname}}}</h3>
<h2 class="activityname ml-3 mb-0">{{{formattedname}}}</h2>
</a>
</div>
<div id="activitycompletioncollapse-{{id}}"
Expand Down

0 comments on commit e99eacb

Please sign in to comment.