Skip to content

Android TalkBack screen reader doesn't tell the user which item is selected in a .NET MAUI CollectionView #21375

@gbarkerz

Description

@gbarkerz

Description

When navigating the Android TalkBack screen reader through the items in a CollectionView, when TalkBack encounters the selected item, its announcement should begin with: "selected". For an example of this behavior, move TalkBack through the items in a Spotify list of tracks in an album. However, in a .NET 8.0 MAUI CollectionView, TalkBack does not say "selected" when it encounters the selected item.

Steps to Reproduce

  1. Build the sample app at https://github.com/gbarkerz/MauiCollectionViewTalkBackTest/tree/master, and run it on an Android device.
  2. Tap on an item in the CollectionView to select it.
  3. Start the TalkBack screen reader on the device, and move it through the items in the CollectionView.

Result: TalkBack never says "selected" when encountering the selected item.

Note that in the "Version with bug" section below, I've added the output of the "dotnet workload list". in Visual Studio, the project's properties say that the Target .NET Runtime is net8.0.

The image here shows TalkBack's caption when encountering the selected item in the test app.

image

Link to public reproduction project repository

https://github.com/gbarkerz/MauiCollectionViewTalkBackTest/tree/master

Version with bug

9.0.0-preview.1.9973

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 14

Did you find any workaround?

No workaround found.

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/a11yRelates to accessibilityt/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions