mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 02:07:09 -06:00
The color and channel sliders gave screen readers a name but no value. Each caller maps its own range onto the thumb's position, so a screen reader announced the Color panel's G slider, Transform Each's Scale or the Navigator's Zoom without the setting the field beside it shows. color_slider_valued and channel_slider_valued take an optional SliderValue: the number and text of the field beside the slider and the slider's range. The accessibility node gets the number, the text and the range, which extends to a number past the slider's end. color_slider_named and channel_slider_named keep their arguments and report no value. Every caller outside the tests uses the new variants: the Color panel, Swatch Options, the Color Picker, the Navigator, the Character panel's variable font axes and the dialog sliders. form::slider_rail_named reports the number it edits, and the harmony wheel's Brightness slider, which has no field, reports its brightness in percent. Docs: docs/target-app-parity.md.