Skip to content

fix(page-controller): support ARIA dropdown option selection#410

Open
voidborne-d wants to merge 1 commit intoalibaba:mainfrom
voidborne-d:fix/combobox-dropdown-selection
Open

fix(page-controller): support ARIA dropdown option selection#410
voidborne-d wants to merge 1 commit intoalibaba:mainfrom
voidborne-d:fix/combobox-dropdown-selection

Conversation

@voidborne-d
Copy link
Copy Markdown
Contributor

Summary

  • keep native <select> handling as-is
  • add a combobox fallback that opens the trigger, resolves popup roots via aria-controls / aria-owns, and clicks visible matching options
  • support common portaled dropdown patterns used by Ant Design, Element Plus, and other ARIA listbox implementations

Validation

  • npm install
  • npm run build:libs
  • npm run lint -- packages/page-controller/src/actions.ts

Closes #290

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 一直无法选中antd的下拉选择,试过好多次还是不能选中

2 participants