Focus and Screen Reader Accessibility Issue in p-dropdown Without Filter Attribute #3441
Unanswered
Icorebleidd
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I am experiencing an accessibility issue with the
p-dropdown
component in PrimeNG. When thefilter
attribute is not used, the focus is not available for the list items, and the aria-label associated with them is not read by screen readers. This issue affects the usability of the dropdown for users relying on screen readers.Steps to Reproduce:
p-dropdown
component without thefilter
attribute.Expected Behavior:
The list items in the
p-dropdown
should be focusable, and the aria-labels should be read by screen readers, even when thefilter
attribute is not used.Actual Behavior:
Without the
filter
attribute, the list items are not focusable, and the aria-labels are not read by screen readers.Not focusing Code:
Focusing Code
Additional Context:
This issue significantly impacts the accessibility of the
p-dropdown
component for users relying on screen readers. Ensuring that all interactive elements are focusable and properly labeled is crucial for accessibility compliance.Beta Was this translation helpful? Give feedback.
All reactions