Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The voice Over reads the Label's text twice

I'm working on making my app accessible for blind people by using the Voice over.

I have tableView that contains custom cell with 4 UILabel and Custom HeaderView that has one UILabel as well.

My issue that the voice over reads the UIlabel's text twice every time i tap on any label in the custom cell or the custom header.

Has anyone have this issue?

like image 342
Shady Mostafa Avatar asked Oct 29 '25 08:10

Shady Mostafa


1 Answers

Anyways my issue was that, I had UILabel extension that was setting the accessibilityValue for all labels by default .

And I was setting the accessibilityValue and accessibilityIdentifier for every label again whenever i use them.

That made the voice over to be reading out the labels twice.

like image 114
Shady Mostafa Avatar answered Oct 30 '25 23:10

Shady Mostafa