react-autosuggest
react-autosuggest copied to clipboard
role="listbox" both on suggestionsContainer as well as suggestion ul
Codepen: https://codepen.io/gaurav5430/pen/rNaYgBe?editors=0010
- Focus on the input field
- Type
c
, and wait for suggestions to appear - Look at the rendered html
Observed behaviour: both the suggestions container and the suggestions ul have role="listbox"
Expected behaviour: only the ul should have role="listbox".
I think this is a regression, it seems to not set the role="listbox" on the container in 9.0.0 , but it does so in the latest version which is 9.4.3
This issue seems to persist from v9 into v10.
This seems like a pretty straightforward fix for an issue affecting all users of the library, so I gave it a shot in #830.