mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 18:05:09 +00:00
fix(a11y): Restore aria-activedescendant
This commit is contained in:
parent
99de15b10b
commit
5365d16d62
|
@ -110,6 +110,7 @@ export class SearchableSelect extends Component<
|
|||
className="form-select d-inline-block text-start"
|
||||
aria-haspopup="listbox"
|
||||
aria-controls="searchable-select-input"
|
||||
aria-activedescendant={options[selectedIndex].label}
|
||||
aria-expanded={false}
|
||||
data-bs-toggle="dropdown"
|
||||
onClick={linkEvent(this, focusSearch)}
|
||||
|
|
Loading…
Reference in a new issue