5

I have a screen with a nested scroll taking up 90% of the screen and a bottom tab tab that sits fixed. I'm working on the accessibility on the screen and running into an issue where TalkBack will navigate to each item correctly as long as they are visible on the screen. As soon as you reach the bottom of the visible items and try to swipe to go to the next item, the scroll view scrolls, but the TalkBack focus jumps to the bottom tab that is fixed on the screen, bypassing all of the new visible items.

Is there a setting or something i'm missing for this? The items inside the scrollview are all important for accessibility and if I set the screen up to have them on the screen, TalkBack's navigation hits them and reads them correctly.

Thank you

Kyle
  • 1,430
  • 1
  • 11
  • 34

1 Answers1

0

Wow this was broken because of a custom scrollview I was using. I put in a custom scroll listener and removed the super call.

override fun onScrollChanged(l: Int, t: Int, oldl: Int, oldt: Int) {
        super.onScrollChanged(l, t, oldl, oldt)
        listener?.scrollChanged(t, l)
    }

Once I put the super call back in, it worked as expected. Going to leave this answer here incase anyone else runs into something similar.

Kyle
  • 1,430
  • 1
  • 11
  • 34
  • I never overrided the onScrollChanged, and any of the on*** methods I overrode call the super. Still I have this problem. What SDK ver are you building against? – Clark Battle Jul 22 '19 at 17:40
  • 1
    Hey, I know longer work at that company and therefore don't have access to it. I believe at the time we were building against 28, with min of 21. And I was typically running emulators on 28. – Kyle Jul 22 '19 at 20:28
  • @ClarkBattle Did you got the solution for the same? – Santosh Kathait Aug 02 '19 at 10:51