Skip to content

[Accessibility] CollectionView Selected on Android #29455

@tj-devel709

Description

@tj-devel709

Description

This issue is related to: #29014.

When we select an item inside a CollectionView with Multiple as the SelectionMode, we want to set ItemView.Selected to true. However, we saw that when we unselect an item with the TalkBack accessibility feature on the android device, the TalkBack would immediately announce the top most selected item. This is not the wanted behavior. We would expect that the item would just be unselected and not read out a different item.

This commit here removes the changes from Android and the screenshots from the UITest that should be re-enabled after this is fixed.

Steps to Reproduce

  1. Create a CollectionView with SelectionMode set to Multiple.
  2. On an android device, turn on TalkBack accessibility feature.
  3. Select multiple items.
  4. Unselect an item and hear the screen reader announce the top most selected item (incorrectly)

Alternatively, you can use the UITest Issue21375 in the HostApp to test on android and selecting the "Multiple" button and then selecting and unselecting items.

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions