Fix a Slider widget accessibility bug#102129
Fix a Slider widget accessibility bug#102129fluttergithubbot merged 2 commits intoflutter:masterfrom
Slider widget accessibility bug#102129Conversation
gspencergoog
left a comment
There was a problem hiding this comment.
What is the problem with the current label?
Will information about the range labels be missing from the semantics if you do this?
There was a problem hiding this comment.
| /// when the slider is active and the [SliderThemeData.showValueIndicator] | |
| /// is satisfied. | |
| /// when the slider is active and [SliderThemeData.showValueIndicator] | |
| /// is true. |
There was a problem hiding this comment.
It isn't a bool property: )
There was a problem hiding this comment.
| /// the [SliderThemeData.showValueIndicator] is satisfied. | |
| /// [SliderThemeData.showValueIndicator] is true. |
There was a problem hiding this comment.
If this is removed, then we no longer need to pass label to this function.
As the reference issue report, the android talkback will read 'value + label + slider',such as ' 50% 50 slider '. I have tested the native slider widget, and the talkback doesn't read labels info out. The semantics label doesn't apply here,right? |

Fixes #101868
The
Slider.labelshould not write toSemanticsConfiguration.label,I check the originally introduced PR https://github.com/flutter/flutter/pull/58535/files which is more like a mistake.
Also, I test the Android native talkback, it does not read the label info out.
In addition, improve the docs about when the label will appear.