alexrainman/CarouselView

iOS: Elements inside carousel are not accessible

tnapes96 opened this issue · 1 comments

Description:
Any list of views that are put into the ItemSource is not accessible to VoiceOver or Appium.

Reproduction:
Demo code can be used.

MyItemsSource in MainViewModel.cs

MyItemsSource = new ObservableCollection<View>()
            {
                new CachedImage() { DownsampleToViewSize = true, Source = "c1.jpg", Aspect = Aspect.Fill , AutomationId = "Picture1"},
                new CachedImage() { DownsampleToViewSize = true, Source = "c2.jpg", Aspect = Aspect.Fill , AutomationId = "Picture2"},
                new CachedImage() { DownsampleToViewSize = true, Source = "c3.jpg", Aspect = Aspect.Fill , AutomationId = "Picture3"}
            };

Steps:

  1. Run Project
  2. See if VoiceOver can recognize any of the automation properties

VoiceOver will not be able to find any of the automation information and Appium will not be able to find any of the elements within. I have tried tweaking the iOS CarouselView Renderer, but I haven't had any luck getting the elements to be accessible.

Screen Shot 2020-12-22 at 5 00 30 PM

This is most likely a duplicate of #488

XForms views are converted to native views at runtime. I don’t think it will be possible to achieve this.