Issue metadata
Sign in to add a comment
|
UINavigationBar back button isn't accessible before enabling VoiceOver on iOS 12 |
||||||||||||||||||||||
Issue descriptionOn iOS 12, when using a NavigationBar with a UITableViewController, with a long title, the back button has no text. In that case, the ButtonBarButton isn't accessible (i.e. isAccessibilityElement returns false) until VoiceOver is enabled. After VoiceOver has been enabled, it is now accessible (i.e. now isAccessibilityElement on the same element returns true). What steps will reproduce the problem? 1. Have a NavigationBar with a long title on top of a UITableViewController. 2. Check the accessibilityElement value of the back button (should be NO) 3. Enable VoiceOver 4. Check the accessibilityElement value of the same back button (should be YES) What is the expected result? The back button should be accessible at step 2. What happens instead? It is not. Filed radar 46969796
,
Jan 8
I made a simple App to test this, but I had different results... When VoiceOver is turned off, navigationItem.backBarButtonItem.isAccessibilityElement and navigationItem.rightBarButtonItem.isAccessibilityElement are all NO. When VoiceOver is turned on, for back button it's still NO, but for right button it's YES.
,
Jan 8
,
Jan 8
The bug is about the back button, so doesn't that match the expectation in comment 0?
,
Jan 9
My test results are: On simulator(no voiceover): - Back Button: no - Right Button: yes On real device: - Before voiceover is open: - Back Button: no - Right Button: no - After voiceover is open: - Back Button: no - Right Button: yes I do think it's buggy, but I can't reproduce it as gambard@ has described.
,
Jan 18
(4 days ago)
I have submitted a sample app. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by pkl@chromium.org
, Jan 7