react-overlays icon indicating copy to clipboard operation
react-overlays copied to clipboard

DropdownToggle has the incorrect aria attribute of aria-haspopup

Open romans12 opened this issue 5 years ago • 1 comments

Describe the bug

DropdownToggle is adding the aria-haspopup="true" when it should not.

Expected behavior

The aria-haspopup=true attribute should only be added if the aria role is menu, listbox, tree, grid, or dialog (https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup).

Read more here: twbs/bootstrap#28295

romans12 avatar Aug 17 '20 18:08 romans12

Would you like to send in a PR to fix this? Thanks!

taion avatar Aug 17 '20 19:08 taion