MOBILE-4470 icon: Remove aria label or hidden warning on course storage
parent
00fd418b84
commit
d2ac783930
|
@ -33,7 +33,7 @@
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-button *ngIf="downloadCourseEnabled" (click)="prefetchCourse($event)" expand="block" fill="outline"
|
<ion-button *ngIf="downloadCourseEnabled" (click)="prefetchCourse($event)" expand="block" fill="outline"
|
||||||
class="ion-no-margin" [disabled]="prefetchCourseData.loading">
|
class="ion-no-margin" [disabled]="prefetchCourseData.loading">
|
||||||
<ion-icon *ngIf="!prefetchCourseData.loading" [name]="prefetchCourseData.icon" slot="start" />
|
<ion-icon *ngIf="!prefetchCourseData.loading" [name]="prefetchCourseData.icon" slot="start" aria-hidden="true" />
|
||||||
<ion-spinner *ngIf="prefetchCourseData.loading" slot="start" />
|
<ion-spinner *ngIf="prefetchCourseData.loading" slot="start" />
|
||||||
{{ prefetchCourseData.statusTranslatable | translate }}
|
{{ prefetchCourseData.statusTranslatable | translate }}
|
||||||
</ion-button>
|
</ion-button>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
[attr.aria-label]="(section.expanded ? 'core.collapse' : 'core.expand') | translate"
|
[attr.aria-label]="(section.expanded ? 'core.collapse' : 'core.expand') | translate"
|
||||||
[attr.aria-expanded]="section.expanded" [attr.aria-controls]="'core-course-storage-section-' + section.id">
|
[attr.aria-expanded]="section.expanded" [attr.aria-controls]="'core-course-storage-section-' + section.id">
|
||||||
<ion-icon name="fas-chevron-right" flip-rtl slot="start" class="expandable-status-icon"
|
<ion-icon name="fas-chevron-right" flip-rtl slot="start" class="expandable-status-icon"
|
||||||
[class.expandable-status-icon-expanded]="section.expanded" />
|
[class.expandable-status-icon-expanded]="section.expanded" aria-hidden="true" />
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<p class="item-heading ion-text-wrap">
|
<p class="item-heading ion-text-wrap">
|
||||||
<core-format-text [text]="section.name" contextLevel="course" [contextInstanceId]="section.course"
|
<core-format-text [text]="section.name" contextLevel="course" [contextInstanceId]="section.course"
|
||||||
|
|
Loading…
Reference in New Issue