-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/a11yRelates to accessibilityRelates to accessibilityt/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
On Android any element in a CollectionView is read as clickable by the Android TalkBack screen reader.
This is the case even non clickable elements such as plain Labels.
Steps to Reproduce
- Create a CollectionView with a Label in its DataTemplate:
<CollectionView ItemsSource="{Binding Data}" SelectionMode="None">
<CollectionView.ItemTemplate>
<DataTemplate>
<Label Text="{Binding IndexNr}"></Label>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
- Run the app on an android device with TalkBack enabled
- Navigate through the items with the screen reader
Result: "Double tap to activate" is announced on the labels of the collection view
Additional Infos:
- Inspecting the accessibility tree of the app shows that every element of the CollectionView is wrapped in a ViewGroup with the "click" action and "clickable" property assigned to it:
- On iOS the screen reader works as expected and does not read the elements as clickable
Link to public reproduction project repository
https://github.com/FinnKr/MAUICollectionViewA11yAndroidBug
Version with bug
8.0.14 SR3.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
Using a StackLayout with BindableLayout and a surrounding ScrollView can be used as a workaround. This needs more customization as a CollectionView though.
Relevant log output
No response
ChristopherStephan
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/a11yRelates to accessibilityRelates to accessibilityt/bugSomething isn't workingSomething isn't working