Merge pull request #17897 from siddhant1/sid/fix-tab-index
Fix tabindex to make accessible search better
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-search-react': patch
|
||||
---
|
||||
|
||||
Fix accessibility issue in `SearchCheckbox` component, making it possible to use the field via keyboard.
|
||||
@@ -138,7 +138,6 @@ export const CheckboxFilter = (props: SearchFilterComponentProps) => {
|
||||
control={
|
||||
<Checkbox
|
||||
color="primary"
|
||||
tabIndex={-1}
|
||||
inputProps={{ 'aria-labelledby': value }}
|
||||
value={value}
|
||||
name={value}
|
||||
|
||||
Reference in New Issue
Block a user