Skip to content

DropdownToggle has the incorrect aria attribute of aria-haspopup #854

@romans12

Description

@romans12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions