Skip to content

Commit

Permalink
Remove unexpected listbox role from autowhatever items container. Fix m…
Browse files Browse the repository at this point in the history
…oroshko#701

This fixes moroshko#701. This can be customised per-project with `renderSuggestionsContainer`, but here is no reason for this container to have a `listbox` role to start with since the list within already does.
  • Loading branch information
thibaudcolas committed Oct 12, 2021
1 parent a1ebd7d commit fb9d666
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Autowhatever.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ export default class Autowhatever extends Component {
const itemsContainer = renderItemsContainer({
containerProps: {
id: itemsContainerId,
role: 'listbox',
...theme(
`react-autowhatever-${id}-items-container`,
'itemsContainer',
Expand Down

0 comments on commit fb9d666

Please sign in to comment.