NeoA11y / SpeakTouch

[WIP] A free software screen reader for Android.
8 stars 0 forks source link

Checkables always reading as checked #91

Closed Irineu333 closed 10 months ago

Irineu333 commented 11 months ago

Describe the bug:

The app is reading all checkables as activated.

PatrykMis commented 11 months ago

Switches? I think rather radio buttons.

Irineu333 commented 11 months ago

I don't think it's exclusive to radio buttons, switches or checkboxes. I think the problem is the checkables in general, right?

Irineu333 commented 11 months ago

In the Reader class, look for the getCheckable function. You will understand why this bug 😂

PatrykMis commented 11 months ago

Ah yes I see 😂

Even I would fix this but what if checkable elements should have "checked" or "unchecked"/"not checked" string while switches should have "enabled"/"disabled" string?

Irineu333 commented 11 months ago

It makes sense! It's time to improve this class. I'll create an issue for this ^1.

Irineu333 commented 11 months ago

If you want to correct it, feel free.

PatrykMis commented 11 months ago

And similarly toggle buttons should have "pressed"/"not pressed".