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

how to update aria label value #683

Open
pkhand0 opened this issue Aug 8, 2023 · 0 comments
Open

how to update aria label value #683

pkhand0 opened this issue Aug 8, 2023 · 0 comments

Comments

@pkhand0
Copy link

pkhand0 commented Aug 8, 2023

Hi,

we are using below code snippet to show the price slider on our site but we are getting ADA compliance issue for this.

<ngx-slider *ngIf="isBrowser" [(value)]="min" [(highValue)]="max" [options]="options" (userChangeEnd)="appliedFilter($event)" >

ADA compliance issue reported : aria-label attribute is not well supported on a ngx-slider with no valid role attribute.

to fix this we tried. -

<ngx-slider *ngIf="isBrowser" [(value)]="min" [(highValue)]="max" [options]="options" (userChangeEnd)="appliedFilter($event)" role="slider" aria-label="Select a range">

but still seeing same when inspecting code -

Can you please check and let us know.. how to update the aria-label value to fix the compliance issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant