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