Open pkhand0 opened 1 year ago
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 -
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 -