Skip to content

Commit de7ed61

Browse files
authored
Merge pull request #2274 from nguyenphuctien/MOBILE-3253_integration
MOBILE-3253 course: Fix completion's accessibility issue with VoiceOver
2 parents e245e50 + 450cffd commit de7ed61

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<a *ngIf="completion" (click)="completionClicked($event)">
1+
<button *ngIf="completion" (click)="completionClicked($event)">
22
<img [src]="completionImage" [alt]="completionDescription">
3-
</a>
3+
</button>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
ion-app.app-root core-course-module-completion a {
1+
ion-app.app-root core-course-module-completion button {
22
display: block;
3+
background-color: transparent;
34

45
img {
56
padding: 5px;
67
width: 30px;
78
vertical-align: middle;
89
max-width: none;
910
}
10-
}
11+
}

0 commit comments

Comments
 (0)