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

Component: Slider #16214

Closed
rmcclell opened this issue Aug 12, 2024 · 1 comment · Fixed by #16216
Closed

Component: Slider #16214

rmcclell opened this issue Aug 12, 2024 · 1 comment · Fixed by #16216
Labels
Milestone

Comments

@rmcclell
Copy link
Contributor

Describe the bug

Prime NG that have range attribute set true and orientation set horizontal, only set the role to slider correctly on the left side while the right side is missing the slider role. Accessibility audits fail due to the role missing from the second slider

Github Code Snippet
image

Chrome Lighthouse audit
image

Environment

Local environment and in prime ng examples

Reproducer

No response

Angular version

18.1.0

PrimeNG version

17.9.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.16.0

Browser(s)

All

Steps to reproduce the behavior

Create a prime ng horizontal slider with [range]="true" and then run lighthouse audit for accessibility in chrome on the example create and the double slider will show some accessibility errors in the audit ran.

Expected behavior

Range type sliders should pass accessibility audits

@rmcclell rmcclell added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 12, 2024
@rmcclell
Copy link
Contributor Author

Pending PR #16216

@cetincakiroglu cetincakiroglu changed the title Component: Title Component: Slider Aug 15, 2024
@cetincakiroglu cetincakiroglu added Component: Accessibility Issue or pull request is related to WCAG or ARIA and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 15, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.9 milestone Aug 15, 2024
mehmetcetin01140 added a commit that referenced this issue Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants