MOBILE-3253 course: Fix completion's accessibility issue with VoiceOver

main
Tien Nguyen 2019-12-17 16:03:16 +07:00
parent 69664c306c
commit 450cffd7f8
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;
}
}
}