Creating an Accessible Range Slider with CSS | a11y with Lindsey
If you want an accessible slider component, the trick isn’t to use a whole load of JavaScript. The trick is to use the native input type="range"
and then figure out the CSS you need (which, alas, involves lots of vendor prefixes).