From: Jay Sitter Date: Sun, 25 Jun 2023 05:03:06 +0000 (-0400) Subject: fix(a11y): Restore aria-activedescendant X-Git-Url: http://these/git/%22/display/44b525e5-4101b003e005e70a-d472d963/static/%7Bthis.state.post.url%7D?a=commitdiff_plain;h=5365d16d62c9223093029b8ea2f79531a022662a;p=lemmy-ui.git fix(a11y): Restore aria-activedescendant --- diff --git a/src/shared/components/common/searchable-select.tsx b/src/shared/components/common/searchable-select.tsx index 37a0c83..801cd86 100644 --- a/src/shared/components/common/searchable-select.tsx +++ b/src/shared/components/common/searchable-select.tsx @@ -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)}