react-component / slider

React Slider
https://slider.react-component.now.sh/
MIT License
3.04k stars 772 forks source link

ariaLabelGroupForHandles is not handled anymore #928

Open ahsandotsalim opened 1 year ago

ahsandotsalim commented 1 year ago

ariaLabelGroupForHandles is present only in the readme file in the latest version

sloomabh commented 1 year ago

hello @ahsandotsalim is this issue still open ?

bertrand-riviere commented 11 months ago

hello, in case it can be useful to anyone; by checking the code it turns out that ariaLabelForHandle accepts both a string AND an array of string (even if the doc does not mention it). using an array of string when isRange is true actually does the job so I guess the intention was to replace ariaLabelGroupForHandles by ariaLabelForHandle but the doc has not been updated accordingly.