Describe the bug
In the autoComplete component, the last item in the menu that indicates that there are more items is rendered as undefined by the screen readers.
Reproducer
Go to any autoComplete component that has a maxResult attribute set to a value and that has the moreText attribute to have a value, and when read with the screen reader it will be rendered as undefined. There is also an example in the primefaces showcase.
Expected behavior
The moreText attribute value is read by the screen reader inside the autocomplete component that has an maxResults attribute with it's value set.(ex. by adding aria-label)
PrimeFaces edition
None
PrimeFaces version
14.0.12
Theme
No response
JSF implementation
Mojarra
JSF version
4.0
Java version
17.0.9
Browser(s)
No response