Custom value text for sliders? #6401
-
The This API is perfectly fine for simple cases, but seems limiting for more complex ones. Here's a sandbox with some motivating examples. The first group of sliders shows what is currently possible; the second group of sliders shows what I think is almost currently possible. Replacing the Is there an option I'm missing that would allow custom labels to be propagated to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think you'd want to pass valueLabel as a child of |
Beta Was this translation helpful? Give feedback.
I chatted with our accessibility team and they agree, it'd be nice if the aria-valuetext matched the output element. This may be difficult because the output accepts a ReactNode. The API will need some thought, but I'll convert this to an issue. Thanks for bringing it up!