File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,8 @@ function MultiSelect({
300
300
ref = { ref }
301
301
{ ...attr }
302
302
onClick = { openMenu }
303
+ tabIndex = '0'
304
+ onKeyPress = { openMenu }
303
305
style = { { ...style , width } }
304
306
className = { `msl-wrp msl-vars ${ className } ${
305
307
disabled ? 'msl-disabled' : ''
@@ -329,6 +331,8 @@ function MultiSelect({
329
331
role = 'button'
330
332
aria-label = 'delete-value'
331
333
onClick = { ( ) => deleteValue ( i ) }
334
+ onKeyPress = { ( ) => deleteValue ( i ) }
335
+ tabIndex = '0'
332
336
className = 'msl-btn msl-chip-delete msl-flx'
333
337
>
334
338
< CloseIcon />
@@ -407,6 +411,8 @@ function MultiSelect({
407
411
role = 'button'
408
412
aria-label = 'close-menu'
409
413
onClick = { clearValue }
414
+ onKeyPress = { clearValue }
415
+ tabIndex = '0'
410
416
className = 'msl-btn msl-clear-btn msl-flx'
411
417
>
412
418
{ closeIcon || < CloseIcon /> }
@@ -415,9 +421,8 @@ function MultiSelect({
415
421
{ downArrow && (
416
422
< div
417
423
role = 'button'
418
- aria-label = 'toggle-menu '
424
+ tabIndex = '0 '
419
425
dropdown-handle = 'true'
420
- // onClick={() => setMenuOpen(!menuOpen)}
421
426
className = 'msl-btn msl-arrow-btn msl-flx'
422
427
style = { { ...( menuOpen && { transform : 'rotate(180deg)' } ) } }
423
428
>
You can’t perform that action at this time.
0 commit comments