fix(a11y): Restore aria-activedescendant

This commit is contained in:
Jay Sitter 2023-06-25 01:03:06 -04:00
parent 99de15b10b
commit 5365d16d62

View file

@ -110,6 +110,7 @@ export class SearchableSelect extends Component<
className="form-select d-inline-block text-start" className="form-select d-inline-block text-start"
aria-haspopup="listbox" aria-haspopup="listbox"
aria-controls="searchable-select-input" aria-controls="searchable-select-input"
aria-activedescendant={options[selectedIndex].label}
aria-expanded={false} aria-expanded={false}
data-bs-toggle="dropdown" data-bs-toggle="dropdown"
onClick={linkEvent(this, focusSearch)} onClick={linkEvent(this, focusSearch)}