splitbutton: Accessibility does not appear to work as documented #13908
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Our application requires WCAG compliance. I am currently trying to add aria-labels to a splitButton component, for which I am following the documentation.
However, I do not see these changes reflected in the DOM. Testing using a screenreader also indicates that these attributes were not set. Furthermore, when trying to bind with a template expression (i.e. square brackets) the compiler complains that these properties do not exist on the splitButton.
Environment
Angular 16.2.9
Cannot set up a test case because the issue template appears to be broken.
Reproducer
No response
Angular version
16.2.9
PrimeNG version
16.5.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.2
Browser(s)
No response
Steps to reproduce the behavior
Add buttonProps/menuButtonProps to p-splitButton
Expected behavior
I would expect to see the aria-label properties on the corresponding elements.
The text was updated successfully, but these errors were encountered: