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

fix(Dropdown): apply modelValue to label, if the modelValue exist #5865

Closed
wants to merge 1 commit into from

Conversation

KumJungMin
Copy link
Contributor

Defect Fixes


Issue description

issue condition

  1. When an option is selected from the dropdown, the aria-label is set to the label value of the selected item (aria-label="Australia").
스크린샷 2024-06-11 오후 3 01 59



  1. If a search is performed with characters not included in "Australia", the aria-label becomes empty.
스크린샷 2024-06-11 오후 3 02 09



how to resolve

If there is an already selected value (modelValue), modify it to display the label of the modelValue.

Copy link

vercel bot commented Jun 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Jun 11, 2024 6:15am
primevue-v4 ⬜️ Ignored (Inspect) Visit Preview Jun 11, 2024 6:15am

@KumJungMin KumJungMin changed the title fix: apply modelValue to label, if the modelValue exist fix(Dropdown): apply modelValue to label, if the modelValue exist Jun 11, 2024
@tugcekucukoglu
Copy link
Member

We try to track the general standards. As far as I see combobox does not have aria-label attribute. https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both/

Thanks for your contribution!

@KumJungMin KumJungMin deleted the fix/issue-4054 branch June 24, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants