Voiceover on custom table cell
Voiceover on custom table cell
- Subject: Voiceover on custom table cell
- From: Daniel Phillips <email@hidden>
- Date: Mon, 16 Nov 2015 13:41:29 +0000 (GMT)
- X_v_e_cd: 11321cb27cb45448154b442fa04266ea
- X_v_r_cd: 21aede7e11738eb08dbc343eed13c9c5
Hello to all,
I need some help for accessibility on my custom table view cell. I have a cell which has 5 labels, illustrated in ASCII art below (apologies if it does' display correctly for you).
————————————————
| A C |
| B D |
| |
| E |
————————————————
Example cell:
————————————————
| 10:43 14:20 |
| London Manchester |
| |
| 3h 23m, 1 change |
————————————————
Out of the box Voiceover reads:
- 10:43.
- London.
- 3h 23m, 1 change.
- 14:20.
- Manchester.
Or: A, B, E, C, D.
I want to make these labels more accessibility friendly but more importantly for now I need to make them be spoken in a more meaningful order. I want it read as A, B, C, D, E.
I have been trying to override UIAccessibilityContainer methods in my cell, but I’m unable to achieve the desired order. In fact when I override -accessibilityElementCount, -accessibilityElementAtIndex:, -indexOfAccessibilityElement:, -accessibilityElements, -isAccessibilityElement.
However when overriding these methods I end up losing accessibility focus which highlights the entire cell; which means that I need to then start swiping inside the cell for Voiceover to read each of the 5 labels individually.
Is it possible to provide custom ordering or would I have to do something more elaborate then overriding the methods mentioned above?
Thank you.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden