Skip to content

how to update aria label value #683

Description

@pkhand0

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions