DropdownToggle has the incorrect aria attribute of aria-haspopup
romans12 opened this issue · 1 comments
romans12 commented
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
taion commented
Would you like to send in a PR to fix this? Thanks!