Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@OEvgeny
Copy link
Collaborator

@OEvgeny OEvgeny commented Feb 8, 2022

Description

The PR improves the button role by making the control to appear as a listbox with options which is closer to the control functionality.

Task Item

Screenshots

image

#minor

The PR improves the button role by making the control to appear as a listbox with options which is closer to the control functionality.
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, but it looks like the selectDialog.test.tsx is failing:

Summary of all failing tests
FAIL packages/ui-plugins/select-dialog/src/__tests__/selectDialog.test.tsx (6.263 s)
  ● Select Dialog › should create a new dialog

    TestingLibraryElementError: Unable to find an accessible element with the role "menuitem"

    Here are the accessible roles:

      listbox:

@OEvgeny OEvgeny changed the title a11y: make Select Dialog a listbox with options a11y: make Select Dialog to be a listbox with options Feb 9, 2022
@OEvgeny OEvgeny requested a review from tonyanziano February 9, 2022 13:24
@OEvgeny
Copy link
Collaborator Author

OEvgeny commented Feb 9, 2022

Updated, thanks for looking into this!

@cwhitten cwhitten merged commit c6afb6c into microsoft:main Feb 9, 2022
@OEvgeny OEvgeny deleted the a11y/dialog-select branch February 9, 2022 16:21
@cwhitten cwhitten mentioned this pull request Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants