Skip to content

SelectPanel anchors should have aria-haspopup="listbox" #3629

Description

@iansan5653

Description

The anchor for SelectPanel is rendered with aria-haspopup="true" by default. The true value for this HTML attribute is equivalent to menu, implying that the related popup will have the menu role.

SelectPanels have the listbox role, not menu, so the value of aria-haspopup here should be listbox.

Steps to reproduce

Render a SelectPanel without a renderAnchor prop defined.

Version

v35.27.1

Browser

Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions