MOBILE-4065 a11y: Add h2 to sections on course summary

main
Pau Ferrer Ocaña 2022-11-11 14:44:54 +01:00
parent 6500f35462
commit c97d92fd04
1 changed files with 4 additions and 4 deletions

View File

@ -71,9 +71,9 @@
<ion-item class="ion-text-wrap" *ngIf="course.summary" detail="false">
<ion-label>
<p class="item-heading">
<h2 class="item-heading">
{{'core.course.coursesummary' | translate}}
</p>
</h2>
<core-format-text [text]="course.summary" collapsible-item contextLevel="course" [contextInstanceId]="course.id">
</core-format-text>
</ion-label>
@ -86,9 +86,9 @@
class="expandable-status-icon" [class.expandable-status-icon-expanded]="contactsExpanded">
</ion-icon>
<ion-label>
<p class="item-heading">
<h2 class="item-heading">
{{ 'core.teachers' | translate }}
</p>
</h2>
</ion-label>
</ion-item>
<ng-container *ngIf="contactsExpanded || course.contacts.length < 5">