Component: File Upload Choose button plus icon aria label set to "true" instead of hidden #15218
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
In the File Upload component's fileupload.ts file there are 3 cases where aria labels are being set to "true". This results in accessibility issues and causes screen readers to label the choose button as having "true" in the name.
This issue was added as part of PR: #13477
These 3 labels are the only instance of
[attr.aria-label]="true"
being used and I believe[attr.aria-hidden]="true"
was intended as it was used in other places throughout the PR.Environment
Any environment running versions 16.2.0 through 17.12.0. Also viewable on the demo page https://primeng.org/fileupload
Reproducer
https://stackblitz.com/edit/github-piysq7?file=src%2Fapp%2Fapp.component.html
Angular version
17.3.2
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.12.1
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The plusicon element should have no aria label.
The text was updated successfully, but these errors were encountered: