Open snowystinger opened 4 months ago
I don't actually think that it's possible to have the input's aria-valuetext
match the output's content in the general case, because sliders support an arbitrary number of inputs but only one output. It could be done if sliders were modified to support one output per input, but this seems like a big change and probably not a good idea.
I think the best thing that can be done with the current model might be to create a more flexible way of setting the aria-valuetext
of each individual thumb to an arbitrary user-specified value?
Discussed in https://github.com/adobe/react-spectrum/discussions/6401
@snowystinger : 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.