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/ui/assets/static/%7Bvideo_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)}