JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.41k stars 4.1k forks source link

Aria-autocomplete="list" is getting added even if isSearchable={false} causing Accessibility issue #5906

Open bahadurharris opened 1 month ago

bahadurharris commented 1 month ago

As per my understanding if isSearchable={false} the aria-autocomplete attribute should not be added to the input element as the user won't be able to type anything so that they can have any autocomplete suggestions, I've also tried to remove it using the custom input component prop but it didn't worked for me with isSearchable={false}.

The main issue with this is that the NVDA Speech Viewer is displaying and announcing that the dropdown has auto complete, where as it is not even allowing a user to type or input some text.

Code Sandbox: aria-autocomplete not removing when isSearchable is false

select drop down has autocomplete

bahadurharris commented 1 month ago

@JedWatson any updates on this?