MOBILE-4065 a11y: Add h2 to sections on course summary
parent
6500f35462
commit
c97d92fd04
|
@ -71,9 +71,9 @@
|
||||||
|
|
||||||
<ion-item class="ion-text-wrap" *ngIf="course.summary" detail="false">
|
<ion-item class="ion-text-wrap" *ngIf="course.summary" detail="false">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<p class="item-heading">
|
<h2 class="item-heading">
|
||||||
{{'core.course.coursesummary' | translate}}
|
{{'core.course.coursesummary' | translate}}
|
||||||
</p>
|
</h2>
|
||||||
<core-format-text [text]="course.summary" collapsible-item contextLevel="course" [contextInstanceId]="course.id">
|
<core-format-text [text]="course.summary" collapsible-item contextLevel="course" [contextInstanceId]="course.id">
|
||||||
</core-format-text>
|
</core-format-text>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
|
@ -86,9 +86,9 @@
|
||||||
class="expandable-status-icon" [class.expandable-status-icon-expanded]="contactsExpanded">
|
class="expandable-status-icon" [class.expandable-status-icon-expanded]="contactsExpanded">
|
||||||
</ion-icon>
|
</ion-icon>
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<p class="item-heading">
|
<h2 class="item-heading">
|
||||||
{{ 'core.teachers' | translate }}
|
{{ 'core.teachers' | translate }}
|
||||||
</p>
|
</h2>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ng-container *ngIf="contactsExpanded || course.contacts.length < 5">
|
<ng-container *ngIf="contactsExpanded || course.contacts.length < 5">
|
||||||
|
|
Loading…
Reference in New Issue