-
Notifications
You must be signed in to change notification settings - Fork 581
Open
Description
I am getting a ARIA accessibility warning in Lighthouse on the following:
<div id="react-autowhatever-1" role="listbox" class="react-autosuggest__suggestions-container"></div>
My React components looks like this:
const inputProps = {
placeholder: 'What are you looking for?',
onChange: onChange,
onKeyDown: onKeyDown,
value
}
<AutoSuggest
suggestions={hits}
onSuggestionsFetchRequested={onSuggestionsFetchRequested}
onSuggestionsClearRequested={onSuggestionsClearRequested}
getSuggestionValue={getSuggestionValue}
renderSuggestion={renderSuggestion}
inputProps={inputProps}
onSuggestionSelected={suggestionSelected}
shouldRenderSuggestions={shouldRenderSuggestions}
focusInputOnSuggestionClick={false}
onSuggestionHighlighted={onSuggestionHighlighted}
multiSection={true}
renderSectionTitle={renderSectionTitle}
getSectionSuggestions={getSectionSuggestions}
/>
Am I missing something obvious or is this a bug?
mfranzke and yvonnetangsu
Metadata
Metadata
Assignees
Labels
No labels