@@ -16,39 +16,37 @@ import { FileItem } from "./file-item.interface";
1616 <p class="bx--file-filename">{{fileItem.file.name}}</p>
1717 <span
1818 *ngIf="fileItem.state === 'edit'"
19- class="bx--file__state-container"
20- (click)="remove.emit()"
21- (keyup.enter)="remove.emit()"
22- (keyup.space)="remove.emit()">
19+ class="bx--file__state-container">
2320 <svg
2421 *ngIf="isInvalidText"
2522 ibmIcon="warning--filled"
2623 class="bx--file--invalid"
2724 size="16">
2825 </svg>
29- <svg
30- ibmIcon="close"
31- size="16"
26+ <button
27+ type="button"
3228 class="bx--file-close"
33- [ariaLabel]="translations.REMOVE_BUTTON"
34- tabindex="0">
35- </svg>
29+ [attr.aria-label]="translations.REMOVE_BUTTON"
30+ tabindex="0"
31+ (click)="remove.emit()"
32+ (keyup.enter)="remove.emit()"
33+ (keyup.space)="remove.emit()">
34+ <svg ibmIcon="close" size="16"></svg>
35+ </button>
3636 </span>
3737 <span *ngIf="fileItem.state === 'upload'">
3838 <div class="bx--inline-loading__animation">
3939 <ibm-loading size="sm"></ibm-loading>
4040 </div>
4141 </span>
42- <span
43- *ngIf="fileItem.state === 'complete'"
44- class="bx--file__state-container"
45- tabindex="0">
46-
42+ <span *ngIf="fileItem.state === 'complete'" class="bx--file__state-container">
4743 <svg
4844 ibmIcon="checkmark--filled"
4945 size="16"
5046 class="bx--file-complete"
51- [ariaLabel]="translations.CHECKMARK">
47+ [ariaLabel]="translations.CHECKMARK"
48+ tabindex="0"
49+ [isFocusable]="true">
5250 </svg>
5351 </span>
5452 `
0 commit comments