Skip to content

SelectPanel: add role=combobox to filter input - #4977

Merged
siddharthkp merged 2 commits into
mainfrom
selectpanel-with-combobox
Sep 19, 2024
Merged

SelectPanel: add role=combobox to filter input#4977
siddharthkp merged 2 commits into
mainfrom
selectpanel-with-combobox

Conversation

@siddharthkp

@siddharthkpsiddharthkp commented Sep 17, 2024

Copy link
Copy Markdown
Member

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 comboboxWith combobox
Voiceover on SafariVoiceover on Safari
Select labels. Filter items, web dialogue, with 6 items. Filter items. Items will be filtered as you type, 🟥 edit textSelect 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 ChromeVoiceover 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 FirefoxVoiceover 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 comboboxWith combobox
NVDA on EdgeNVDA on Edge
Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7Select 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 ChromeNVDA on Chrome
Select labels dialog. Use labels to organize issues and pull requests. Select labels list enhancement 1 of 7Select 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

@siddharthkpsiddharthkp self-assigned this Sep 17, 2024
@changeset-bot

changeset-botBot commented Sep 17, 2024

Copy link
Copy Markdown

🦋 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
NameType
@primer/reactPatch

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-actionsgithub-actionsBot added the staff Author is a staff member label Sep 17, 2024
@github-actions
github-actionsBottemporarily deployed to storybook-preview-4977 September 17, 2024 09:42 Inactive
@github-actions

github-actionsBot commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
packages/react/dist/browser.esm.js97.58 KB (+0.13% 🔺)
packages/react/dist/browser.umd.js97.7 KB (-0.02% 🔽)

@camertroncamertron left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
MemberAuthor

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 queueSep 19, 2024
Merged via the queue into main with commit 1adea12Sep 19, 2024
@siddharthkp
siddharthkp deleted the selectpanel-with-combobox branch September 19, 2024 13:41
@primerprimerBot mentioned this pull request Sep 19, 2024
TylerJDev pushed a commit that referenced this pull request Sep 23, 2024
* add role=combobox to filter input
* Create selectpanel-combobox.md
@primerprimerBot mentioned this pull request Oct 18, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@siddharthkp@camertron