Merge pull request #2274 from nguyenphuctien/MOBILE-3253_integration

MOBILE-3253 course: Fix completion's accessibility issue with VoiceOver
main
Dani Palou 2020-02-11 09:28:47 +01:00 committed by GitHub
commit de7ed61147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,3 @@
<a *ngIf="completion" (click)="completionClicked($event)">
<button *ngIf="completion" (click)="completionClicked($event)">
<img [src]="completionImage" [alt]="completionDescription">
</a>
</button>

View File

@ -1,5 +1,6 @@
ion-app.app-root core-course-module-completion a {
ion-app.app-root core-course-module-completion button {
display: block;
background-color: transparent;
img {
padding: 5px;
@ -7,4 +8,4 @@ ion-app.app-root core-course-module-completion a {
vertical-align: middle;
max-width: none;
}
}
}