Skip to content

fix(autocomplete): improve multiple mode accessibility - #19571

Open
manichandra wants to merge 1 commit into
primefaces:masterfrom
manichandra:fix/17457-autocomplete-multiple-a11y
Open

fix(autocomplete): improve multiple mode accessibility#19571
manichandra wants to merge 1 commit into
primefaces:masterfrom
manichandra:fix/17457-autocomplete-multiple-a11y

Conversation

@manichandra

Copy link
Copy Markdown
Contributor

AutoComplete multiple mode rendered its selected-value listbox without an accessible name and wrapped the input combobox in an option element.

Label the multiple listbox with existing accessibility inputs and make the input wrapper presentational so interactive controls are not nested inside options.

Fixes #17457

Defect Fixes

When submitting a PR, please also create an issue documenting the error and manually link to an issue.

Feature Requests

Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes.
Smaller scaled feature implementations such as adding a property to a component will be considered for merging.

AutoComplete multiple mode rendered its selected-value listbox without an accessible name and wrapped the input combobox in an option element.

Label the multiple listbox with existing accessibility inputs and make the input wrapper presentational so interactive controls are not nested inside options.

Fixes primefaces#17457
@manichandra

manichandra commented May 10, 2026

Copy link
Copy Markdown
Contributor Author

Manual verification screenshot for the multiple AutoComplete accessibility fix.

The DevTools console checks every rendered multiple-mode AutoComplete listbox on the showcase page and confirms:

  • each ul[role="listbox"] has an accessible label (aria-label)
  • examples without an explicit placeholder/label fall back to Option List
  • the input wrapper li uses role="presentation" instead of role="option"

Screenshot:
image

@manichandra

Copy link
Copy Markdown
Contributor Author

@mehmetcetin01140 can you please review and get this merged. let me know if I need to anything to pass the failing CI checks ?

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.

Autocomplete multiple accessibility

1 participant