Skip to content

Commit adc526c

Browse files
committed
fixing sonar
1 parent a9f4f44 commit adc526c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

webapp/src/ts/components/report-image/report-image.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<div class="loader"></div>
33
}
44
@if (!loading) {
5-
<img class="report-image" [src]="objectUrl" />
5+
<img class="report-image" [src]="objectUrl" alt="" />
66
}
7+

webapp/src/ts/components/snackbar/snackbar.component.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
<span class="snackbar-message">{{message}}</span>
44

55
@if (action) {
6-
<span class="snackbar-action" (click)="action.onClick()">
7-
{{action.label}}
8-
</span>
6+
<span class="snackbar-action"
7+
(click)="action.onClick()"
8+
(keydown.enter)="action.onClick()"
9+
tabindex="0">{{action.label}}</span>
910
}
1011

1112
</span>

0 commit comments

Comments
 (0)