iosaccessibilityvoiceover

Disable VoiceOver on UIButton/UITableViewCell/UICollectionViewCell Selection


With VoiceOver switched-on, when focus comes on a UIButton/UITableViewCell/UICollectionViewCell, VoiceOver reads it's accessibility label once.

Then as soon as user double taps to select that UIButton/UITableViewCell/UICollectionViewCell, VoiceOver reads the same accessibility label again besides performing action (navigation etc) on UIButton/UITableViewCell/UICollectionViewCell selection.

I've searched a lot but not able to find a way to stop/disable VoiceOver reading accessibility label on UIButton/UITableViewCell/UICollectionViewCell selection.

Any help would be highly appreciated.


Solution

  • This worked for me at the time I had asked this question (a workaround, not proper solution).

    I handled it by forced selection of another accessibility element. For example, after making selection from TableView/CollectionView, I'm supposed to navigate to new UI. What I'm doing is that I forcefully select left bar button item of navigation bar of new UI right after navigation is completed. Selection is made using UIAccessibilityPostNotification. This way, it starts reading newly selected item. Please see this link for selection