iOS: Elements inside carousel are not accessible
tnapes96 opened this issue · 1 comments
tnapes96 commented
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:
- Run Project
- 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.
This is most likely a duplicate of #488
alexrainman commented
XForms views are converted to native views at runtime. I don’t think it will be possible to achieve this.