Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin Forms Accessibility read order

$
0
0

Hello guys, I'm trying to test Accessibility in a really simple page: one root StackLayout and two children Stacklayout, composed like this:

< StackLayout >
< StackLayout Orientation="Horizontal" >
< Image ...
AutomationProperties.IsInAccessibleTree="False"
/>
< Image ...
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="Menu"
Margin="5,5,5,5"/>
< /StackLayout >

        < StackLayout >
                <Label 
                    Text="Sample text"
                    AutomationProperties.IsInAccessibleTree="True"
                    AutomationProperties.Name="Sample text"
                    HorizontalOptions="Center">
                </Label>
  < /StackLayout >

< /StackLayout >

I'm testing now on IPhone and the behaviour is not the expected: VoiceOver starts reading always "SampleText", skipping the image with True in the previous layout. The correct order should be the second image and after this label.
What am I doing wrong? I really can't understand why the label have priority on the other things and how to control the reading order..Is bugged?
Thanks a lot


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>