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

Storybook a11y accessibility flags #12

Open
shalanah opened this issue Jan 30, 2025 · 1 comment
Open

Storybook a11y accessibility flags #12

shalanah opened this issue Jan 30, 2025 · 1 comment

Comments

@shalanah
Copy link

Hi! Love the slider and was recently documenting a component in Storybook that utilizes react-range-slider-input.

Snapshot of errors

Image Image

Possible solutions

  • Add aria labels to the role=slider
  • Allow to pass in 2 ids one for each input and user can add labels themselves.

Currently I'm filling in these properties after mount.

@n3r4zzurr0
Copy link
Owner

n3r4zzurr0 commented Feb 8, 2025

Thanks for pointing this out! It had been on my to-do list for a while. I've resolved the critical ones within the library and added two props, ariaLabel and ariaLabelledBy, to address the serious ones. Please update the package and let me know if there are any remaining issues. 😃

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

2 participants