MOBILE-4065 a11y: Change module name tag to div

main
Pau Ferrer Ocaña 2022-11-11 14:36:47 +01:00
parent 622f6ee265
commit 6500f35462
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<core-mod-icon slot="start" [modicon]="modicon" [modname]="module.modname" [componentId]="module.instance">
</core-mod-icon>
<ion-label>
<p class="core-modulename" *ngIf="moduleNameTranslated">{{moduleNameTranslated}}</p>
<div class="core-modulename" *ngIf="moduleNameTranslated">{{moduleNameTranslated}}</div>
<h1>
<core-format-text [text]="module.name" contextLevel="module" [component]="component" [componentId]="componentId"
[contextInstanceId]="module.id" [courseId]="courseId">