Forum Xamarin.Forms

VoiceOver goes into endless loop for a ListView added in TabbedPage

I am making my application ADA compliant and currently, I am focusing on the VoiceOver / Talkback part. I am facing some challenges with the iOS version.

I have three tabs in a TabbedPage control and all three are Content Pages having controls like StackLayouts, ListView with an EmptyView, Labels, and buttons.
Problem statement:
The problem I am facing is, VoiceOver goes into a recursive or endless loop while reading the content in the listview on all 3 tabs. It reads all the content as expected but it keeps on reading the last item (cell).

Here are the few things I have tried but no luck:

  • I have tried commenting 2 tabs and load the screen with only 1 tab.
  • Tried adding IsTabStop property in the cell
  • Double checked all the controls are having proper visibility property added.
  • One of the tabs has ListView.Behaviors with InfiniteScroll tried commenting that tab and loaded only 2 or 1 tabs.
  • Tried adding TabIndex property

I have attached views of the parent tabbed page and one of the child tab pages with listview implementation.

Can anyone guide me on how I can stop the VoiceOver recursive loop on the list view?

Best Answer

Answers

  • LucasZhangLucasZhang Member, Xamarin Team Xamurai

    I tested VoiceOver with simple ListView and it works fine on my side .

    <ListView>
          <ListView.ItemsSource>
              <x:Array Type="{x:Type x:String}">
                <x:String>mono</x:String>
                <x:String>monodroid</x:String>
                <x:String>monotouch</x:String>
                <x:String>monorail</x:String>
                <x:String>monodevelop</x:String>
                <x:String>monotone</x:String>
                <x:String>monopoly</x:String>
                <x:String>monomodal</x:String>
                <x:String>mononucleosis</x:String>
              </x:Array>
          </ListView.ItemsSource>
    </ListView>
    

    So the issue maybe caused by the custom view in your project . The file that you provided is incomplete so I could test it .

  • AnkitParekhAnkitParekh USMember ✭✭
    edited September 2020

    Hi @LucasZhang ,

    I have included customTabbedPage, customListItem and customTabbedPageRedereriOS.
    Child page is extending BasePage which is nothing but a ContentPage.
    In all other screens, ListViews and this BasePage (ContentPage) works fine, so I don't think that is a problem.

    Some more updates:
    I am using Xamarin.Forms version 4.4.0.991864.

Sign In or Register to comment.