File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ const ActionItem = ({
2727 data-testid = { value === selected ? `${ value } selected` : null }
2828 style = { { cursor : 'pointer' } }
2929 aria-checked = { value === selected }
30+ // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
31+ tabIndex = { value === selected ? '0' : '-1' }
3032 >
3133 < Icon src = { Check } className = { classNames ( 'text-success mr-2' , { invisible : value !== selected } ) } />
3234 < Form . Radio id = { id } className = "sr-only sr-only-focusable" value = { value } tabIndex = "0" >
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ export const ActionItem = ({
4141 data-testid = { value === selected ? 'selected' : null }
4242 style = { { cursor : 'pointer' } }
4343 aria-checked = { value === selected }
44+ // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
45+ tabIndex = { value === selected ? '0' : '-1' }
4446 >
4547 < Icon src = { Check } className = { classNames ( 'text-success mr-2' , { invisible : value !== selected } ) } />
4648 < Form . Radio id = { id } className = "sr-only sr-only-focusable" value = { value } tabIndex = "0" >
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ header {
251251 min-width : 29rem ;
252252}
253253
254- .filter-menu :focus-within {
254+ .filter-menu :focus-visible {
255255 background-color : #e9e6e4 !important ;
256256}
257257
You can’t perform that action at this time.
0 commit comments