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

Progress bar a11y issue #17606

Open
bye opened this issue Feb 6, 2025 · 0 comments
Open

Progress bar a11y issue #17606

bye opened this issue Feb 6, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@bye
Copy link

bye commented Feb 6, 2025

Copy of Component: progressbar which has been closed but still persists.

Describe the bug

As reported by Axe DevTools for 508 compliance

"ARIA progressbar must have an accessible name"
https://dequeuniversity.com/rules/axe/4.4/aria-progressbar-name?application=AxeChrome

Element Source

This is solved by adding an aria-label attribute to the template

Environment

We noticed this on a work project. Since we cannot pull (blocked by firewall), I replicated the issue on my personal machine (desktop). Axe DevTools was used to identify the issue. Using visual studio code, just pulled down the source and tested with adding the aria label

Reproducer

Just run Axe DevTools scan(free version, scan entire page) over the progress bar page. It is the top issue reported.

Angular version

18.2.9

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

v20.18.1

Browser(s)

No response

Steps to reproduce the behavior

Install Axe DevTools free chrome extension: https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US
Navigate to http://localhost:4200/progressbar
Go to browser dev tools, click the double chevrons in the upper right (>>), choose 'axe DevTools'
Click the button "scan all of my page"
Find the issue reported "ARIA progressbar must have an accessible name", should be the first one

Expected behavior

Axe DevTools should not report a serious accessibility problem, this is solved by adding the aria-label attribute to the progress bar

@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant