Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Elements inside carousel are not accessible #587

Open
tnapes96 opened this issue Dec 22, 2020 · 1 comment
Open

iOS: Elements inside carousel are not accessible #587

tnapes96 opened this issue Dec 22, 2020 · 1 comment

Comments

@tnapes96
Copy link

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

@alexrainman
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants