TalkBack: reaching the end of a tab automatically switches to the next tab

Aperta
#470 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin

Direzione di ricerca

Start by tracing the main view_pager and locating MyViewPager in Commons, since the issue says the pager may be shared across Fossify apps. Check how its accessibility node exposes scroll actions and how page-change announcements are preserved. Reproduce the TalkBack steps in the issue; done means swiping past the last element leaves the selected tab unchanged while the bottom tab bar remains usable for switching.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.7.5

Affected Android/Custom ROM version

Android 16 (stock Motorola ROM)

Affected device model

Motorola edge 60 neo

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Enable TalkBack.
  2. Open Voice Recorder on any tab (e.g. "Recorder").
  3. Swipe right repeatedly to move the TalkBack focus through the elements of the tab until the last one.
  4. Swipe right once more.
Expected behavior

The focus moves on to the bottom tab bar (or stops), and the current tab stays selected. Switching tabs should only happen when the user selects another tab.

Actual behavior

The app switches to the next tab on its own (Recorder → Player → Recycle bin), which is disorienting for screen reader users: the content changes under them without them asking for it.

Screenshots/Screen recordings

No response

Additional information

The main view_pager is exposed to accessibility services as scrollable (uiautomator dump: view_pager ... scrollable=true). When linear navigation reaches the end of a scrollable container, TalkBack automatically performs a scroll-forward action on it to reveal more content. On a ViewPager, scrolling forward means moving to the next page, so reaching the end of a tab flips to the next one.

A possible fix is to stop exposing the scroll actions on the tabs pager (remove ACTION_SCROLL_FORWARD / ACTION_SCROLL_BACKWARD and mark the node as not scrollable, while keeping ViewPager's own page-change announcements), since the bottom tab bar already provides an accessible way to switch tabs. As MyViewPager comes from Commons, this may affect other Fossify apps too.

(Replaces #468, which was closed because it was not created through the issue form.)

Lingua principale
Kotlin
Stelle
1k
Fork
98
Merge medio
2g 15h
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FossifyOrg/Voice-Recorder

Tutte le issue di FossifyOrg/Voice-Recorder

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.