I have a checkbox in my activity and provided android:contentDescription="selected". Also in java class provided as below.
checkbox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
checkbox.setContentDescription(b ? "Selected" : "Not Selected");
}
});
When i turn on talkback and selected the checkbox, then it says "Checked/Not Checked" instead of "Selected/Not Selected".
It is taking default values of OS (Varies in different manufacturers and OS version) but not provided values. Is there any way, we can fix this issue?