Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SelectPanel: add role=combobox to filter input #4977

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

siddharthkp
Copy link
Member

@siddharthkp siddharthkp commented Sep 17, 2024

Rollout strategy

  • Patch release (behind feature flag)
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Merge checklist

Testing & Reviewing

tl;dr: The only diff is on Voiceover on MacOS for the screen reader announcement when the panel is opened. (no difference on other browsers or on Windows + NVDA)

// without combobox:
Select labels. Filter items, web dialogue, with 6 items. Filter items. 
Items will be filtered as you type, edit text

// without combobox:
Select labels. Filter items, web dialogue, with 6 items. Filter items. 
+ Items will be filtered as you type, list box pop-up. Menu pop-up combo box

Full details:

Voiceover on MacOS (diff on Safari)

Without combobox With combobox
Voiceover on Safari Voiceover on Safari
Select labels. Filter items, web dialogue, with 6 items. Filter items. Items will be filtered as you type, 🟥 edit text Select labels. Filter items, web dialogue, with 6 items. Filter items. Items will be filtered as you type, 🟩 list box pop-up. Menu pop-up combo box
see+listen video
voiceover-safari-without-combobox.mov
see+listen video
voiceover-safari-with-combobox.mov
Voiceover on Chrome Voiceover on Chrome (no difference)
dialogue, with 6 items enhancement selected, selected, (1 of 7) dialogue, with 6 items enhancement selected, selected, (1 of 7)
see+listen video
voiceover-chrome-without-combobox.mov
see+listen video
voiceover-chrome-with-combobox.mov
Voiceover on Firefox Voiceover on Firefox (no difference)
enhancement, enhancement, selected, (1 of 7) enhancement, enhancement, selected, (1 of 7)
see+hear video
voiceover-firefox-without-combobox.mov
see+hear video
voiceover-firefox-with-combobox.mov

NVDA on Windows (no difference)

Without combobox With combobox
NVDA on Edge NVDA on Edge
Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7 Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7
see+hear video
nvda-edge-without-combobox.mov
see+hear video
nvda-edge-with-combobox.mov
NVDA on Chrome NVDA on Chrome
Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7 Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7
see+hear video
nvda-chrome-without-combobox.mov
see+hear video
nvda-chrome-with-combobox.mov

@siddharthkp siddharthkp self-assigned this Sep 17, 2024
Copy link

changeset-bot bot commented Sep 17, 2024

🦋 Changeset detected

Latest commit: 09631b7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the staff Author is a staff member label Sep 17, 2024
@github-actions github-actions bot temporarily deployed to storybook-preview-4977 September 17, 2024 09:42 Inactive
Copy link
Contributor

github-actions bot commented Sep 17, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 97.58 KB (+0.13% 🔺)
packages/react/dist/browser.umd.js 97.7 KB (-0.02% 🔽)

Copy link
Collaborator

@camertron camertron left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the very thorough write-up and videos! 🎉

Do we want to do the same thing for FilteredActionListWithDeprecatedActionList?

@siddharthkp
Copy link
Member Author

Do we want to do the same thing for FilteredActionListWithDeprecatedActionList?

I think it's better to keep all changes behind the same feature flag so that we test it for ourselves before shipping it to users

@siddharthkp siddharthkp added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit 1adea12 Sep 19, 2024
42 checks passed
@siddharthkp siddharthkp deleted the selectpanel-with-combobox branch September 19, 2024 13:41
@primer primer bot mentioned this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants