Skip to content

Commit 5c5fc44

Browse files
authored
Resolver node cube click should == button click (#73085) (#73113)
* Resolver node cube click == button click
1 parent 1cb1a19 commit 5c5fc44

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

x-pack/plugins/security_solution/public/resolver/view/process_event_dot.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,23 @@ const UnstyledProcessEventDot = React.memo(
313313
<svg
314314
viewBox="-15 -15 90 30"
315315
preserveAspectRatio="xMidYMid meet"
316+
onClick={
317+
() => {
318+
handleFocus();
319+
handleClick();
320+
} /* a11y note: this is strictly an alternate to the button, so no tabindex is necessary*/
321+
}
322+
role="img"
323+
aria-labelledby={labelHTMLID}
316324
style={{
317325
display: 'block',
318326
width: '100%',
319327
height: '100%',
320328
position: 'absolute',
321329
top: '0',
322330
left: '0',
331+
outline: 'transparent',
332+
border: 'none',
323333
}}
324334
>
325335
<g>

0 commit comments

Comments
 (0)