Merge pull request #3166 from NoelDeMartin/MOBILE-3833
MOBILE-3833 a11y: Add downloaded labels in storagemain
commit
a8f9dd8f0b
|
@ -53,7 +53,8 @@
|
||||||
</p>
|
</p>
|
||||||
<ion-badge [color]="section.downloadStatus == statusDownloaded ? 'success' : 'light'"
|
<ion-badge [color]="section.downloadStatus == statusDownloaded ? 'success' : 'light'"
|
||||||
*ngIf="section.totalSize > 0">
|
*ngIf="section.totalSize > 0">
|
||||||
<ion-icon aria-hidden="true" name="fam-cloud-done" *ngIf="section.downloadStatus == statusDownloaded">
|
<ion-icon name="fam-cloud-done" *ngIf="section.downloadStatus == statusDownloaded"
|
||||||
|
[attr.aria-label]="'core.downloaded' | translate">
|
||||||
</ion-icon>{{ section.totalSize | coreBytesToSize }}
|
</ion-icon>{{ section.totalSize | coreBytesToSize }}
|
||||||
</ion-badge>
|
</ion-badge>
|
||||||
<!-- Download progress. -->
|
<!-- Download progress. -->
|
||||||
|
@ -98,7 +99,8 @@
|
||||||
</h3>
|
</h3>
|
||||||
<ion-badge [color]="module.downloadStatus == statusDownloaded ? 'success' : 'light'"
|
<ion-badge [color]="module.downloadStatus == statusDownloaded ? 'success' : 'light'"
|
||||||
*ngIf="module.totalSize > 0">
|
*ngIf="module.totalSize > 0">
|
||||||
<ion-icon aria-hidden="true" name="fam-cloud-done" *ngIf="module.downloadStatus == statusDownloaded">
|
<ion-icon name="fam-cloud-done" *ngIf="module.downloadStatus == statusDownloaded"
|
||||||
|
[attr.aria-label]="'core.downloaded' | translate">
|
||||||
</ion-icon>{{ module.totalSize | coreBytesToSize }}
|
</ion-icon>{{ module.totalSize | coreBytesToSize }}
|
||||||
</ion-badge>
|
</ion-badge>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
|
|
Loading…
Reference in New Issue