diff --git a/src/pages/Help.jsx b/src/pages/Help.jsx index 66166a8..7281a4a 100644 --- a/src/pages/Help.jsx +++ b/src/pages/Help.jsx @@ -2910,8 +2910,8 @@ export default function Help() { aria-expanded={searchSuggestions.length > 0} aria-controls="hp-search-suggestions" aria-activedescendant={ - activeSuggestion >= 0 - ? `hp-suggestion-${activeSuggestion}` + activeSuggestion >= 0 && searchSuggestions[activeSuggestion] + ? `hp-suggestion-${searchSuggestions[activeSuggestion].id}` : undefined } /> @@ -2963,7 +2963,7 @@ export default function Help() { {searchSuggestions.map((feature, idx) => (