Skip to content

Commit 236d9d7

Browse files
fix(file-uploader): Fix a11y role 'none'
1 parent 6ebaa99 commit 236d9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file-uploader/file-uploader.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ const noop = () => { };
3131
(keyup.enter)="fileInput.click()"
3232
(keyup.space)="fileInput.click()"
3333
[ngClass]="{'bx--file-browse-btn--disabled': disabled}"
34+
role="button"
3435
tabindex="0">
3536
<div
3637
class="bx--file__drop-container"
3738
[ngClass]="{'bx--file__drop-container--drag-over': dragOver}"
38-
role="button"
3939
(click)="fileInput.click()"
4040
[attr.for]="fileUploaderId"
4141
(dragover)="onDragOver($event)"

0 commit comments

Comments
 (0)