Skip to content

Commit 8a9d6dd

Browse files
committed
fix: eui icon requires aria label
1 parent f5d7a05 commit 8a9d6dd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

electron/renderer/components/grid/grid-item.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ export const GridItem: React.FC<GridItemProps> = (
329329
justifyContent="flexEnd"
330330
>
331331
<EuiButtonIcon
332+
aria-label="Close"
332333
title="Close"
333334
iconType="cross"
334335
color="accent"

electron/renderer/components/sidebar/sidebar-item.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const SidebarItem: React.FC<SidebarItemProps> = (
4747

4848
const buttonElmt = (
4949
<EuiButtonIcon
50+
aria-label={label}
5051
onClick={onClickButton}
5152
iconType={iconType}
5253
color={iconColor}

0 commit comments

Comments
 (0)