Merge pull request #3647 from NoelDeMartin/MOBILE-3748
MOBILE-3748 a11y: Indicate non-downloadable itemsmain
commit
d2a5a2bdf1
|
@ -2206,6 +2206,7 @@
|
||||||
"core.noselection": "form",
|
"core.noselection": "form",
|
||||||
"core.notapplicable": "local_moodlemobileapp",
|
"core.notapplicable": "local_moodlemobileapp",
|
||||||
"core.notavailable": "moodle",
|
"core.notavailable": "moodle",
|
||||||
|
"core.notdownloadable": "local_moodlemobileapp",
|
||||||
"core.notenrolledprofile": "moodle",
|
"core.notenrolledprofile": "moodle",
|
||||||
"core.notice": "moodle",
|
"core.notice": "moodle",
|
||||||
"core.notingroup": "moodle",
|
"core.notingroup": "moodle",
|
||||||
|
|
|
@ -136,6 +136,9 @@
|
||||||
[attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: module.name }">
|
[attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: module.name }">
|
||||||
</ion-icon>
|
</ion-icon>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
|
<p *ngIf="!downloadEnabled || !module.handlerData?.showDownloadButton" class="sr-only">
|
||||||
|
{{ 'core.notdownloadable' | translate }}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
|
@ -220,6 +220,7 @@
|
||||||
"noselection": "No selection",
|
"noselection": "No selection",
|
||||||
"notapplicable": "n/a",
|
"notapplicable": "n/a",
|
||||||
"notavailable": "Not available",
|
"notavailable": "Not available",
|
||||||
|
"notdownloadable": "Not downloadable",
|
||||||
"notenrolledprofile": "This profile is not available because this user is not enrolled in this course.",
|
"notenrolledprofile": "This profile is not available because this user is not enrolled in this course.",
|
||||||
"notice": "Notice",
|
"notice": "Notice",
|
||||||
"notingroup": "Sorry, but you need to be part of a group to see this page.",
|
"notingroup": "Sorry, but you need to be part of a group to see this page.",
|
||||||
|
|
Loading…
Reference in New Issue