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

AutoComplete: Screen reader not reading list items in auto complete #7399

Open
rinnuagna opened this issue Nov 7, 2024 · 1 comment
Open
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA

Comments

@rinnuagna
Copy link

Describe the bug

When screen reader moves through the list items of autocomplete, it will read as blank if no value in autocomplete, or repeatedly read the selected value for all the list items
image

Reproducer

No response

System Information

primereact 10.8.3

Steps to reproduce the behavior

No response

Expected behavior

All the items in the list should be read by screen reader same how dropdown works

@rinnuagna rinnuagna added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 7, 2024
@rinnuagna rinnuagna changed the title Autofocus: Screen reader not reading list items in auto complete AutoComplete: Screen reader not reading list items in auto complete Nov 7, 2024
@melloware melloware added Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 7, 2024
@danielck
Copy link

I tested this component in a few screenreaders (latest NVDA and JAWS 2024 both running Chrome, and VoiceOver on macOS 15.1 with Safari) and none of them work. I can confirm the behaviour reported by @rinnuagna in NVDA.

The accessibility of comboboxes is very flaky even when implemented according to spec, but a possible reason for the issues is that aria-activedescendant is not set or updated on the input (which has the combobox role). The documentation claims the attribute is there, so this must be a bug.

The listbox does not follow the input in the DOM, which can be another cause of trouble but likely not the main issue here.

I'm happy to retest any fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA
Projects
None yet
Development

No branches or pull requests

3 participants