This repository has been archived by the owner on May 1, 2024. It is now read-only.
This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Accessibility - voiceover not responding as expected in swipeviewitems - Xamarin.forms iOS #13933
Open
Description
Description
The UI and commands are working fine both in iOS and android. But the accessibility Voice over is not working in iOS.. Also the talkback is working fine for both the swipeitems in Android.
Steps to Reproduce
add a swipeview inside the itemplate of a bindablelayout and add two or more swipeitems into it. It behaves oddly with the accessibility turned on
Expected Behavior
Once the voice over is turned on it should talk back the added text.
Actual Behavior
Its working fine in android. But in iOS, the swipeitems are not responding back as expected. Only one item is recognised and that too talks back some different text.
Basic Information
-
Microsoft Visual Studio Professional 2019
Version 16.8.4 -
Affected Devices: tested in iphone 7(v14.3)
Environment
Show/Hide Visual Studio info
<SwipeView>
<SwipeView.RightItems>
<SwipeItems>
<SwipeItem Text="Favorite"
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="Favourite Icon"
IconImageSource="favorite.png"
BackgroundColor="LightGreen"
Command="{Binding Command1}" />
<SwipeItem Text="Delete"
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="Delete Icon"
IconImageSource="delete.png"
BackgroundColor="LightPink"
Command="{Binding Command2}"/>
</SwipeItems>
</SwipeView.RightItems>
<!-- Content -->
<Grid HeightRequest="60"
WidthRequest="300"
BackgroundColor="LightGray">
<Label Text="Swipe right"
HorizontalOptions="Center"
VerticalOptions="Center" />
</Grid>
</SwipeView>