mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
fix(a11y): Restore aria-activedescendant
This commit is contained in:
parent
99de15b10b
commit
5365d16d62
1 changed files with 1 additions and 0 deletions
|
@ -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)}
|
||||||
|
|
Loading…
Reference in a new issue