-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Hello.
I'm Hyongsop Kim from Korea and accessibility consultant.
I'm testing flutter accessibility API and I found out that flutter supports Semantics to support custom widget accessibility.
By the way, I cannot find RadioButton within Semantics.
If I use original Radio class with RadioListTile, TalkBack says the object role as RadioButton.
It's very good.
However if I use custom RadioButton, there is no way to let TalkBack speak the role as RadioButton.
If TalkBack doesn't speak it as RadioButton, screen reader users hard to distinguish that these objects can be selected only one object and not possible multi check object.
Of course if I use native Radio class, there is no problem.
But in some cases, we have to use custom Radio widget.
So I hope that add RadioButton in Semantics so that TalkBack speak the role as RadioButton even if we use custom Radio widget.
Of course, I know that iOS VoiceOver doesn't support RadioButton.
So in case of iOS build, you can make RadioButton Semantics as button trait in iOS accessibility API.
And if you add RadioGroup semantics, VoiceOver will speak focused button number of total RadioButton number.
For example, selected, orange, button, 2 of 3.
Thank you.