VoiceOver navigation in table views is broken

Number:rdar://33293524 Date Originated:July 13 2017
Status:Duplicate of 31973960 | Open Resolved:
Product:macOS + SDK Product Version:macOS 10.13 Beta (17A306f)
Classification:Bug Reproducible:Always

Table views are nested inside clip views inside scroll views. On macOS 10.13, the scroll view is is wrongly treated as an accessibility element, which creates another level the user needs to step into to reach the contents of the table view. Additionally, the scroll view contains the first header of the table view as an accessibility child, which should also not be the case.

Attached is the sample project AccessibilityUIExamples.zip as provided by Apple, which showcases the problem nicely.

Steps to Reproduce:
- Run the attached sample code and start VoiceOver.
- If you are not inside a scroll area use VoiceOver to step into the scroll area and select the table view.
- Try to navigate to the detail view on the right with VO-right.

Expected Results:
You can switch between table view and detail view with VO-left and VO-right, and step into the table view (and its headers) with VO-shift-down.

Observed Results:
You cycle between the table view and its first header, because you are stuck in the scroll view. Stepping into the table view will allow you to cycle between all items of the table view, but to reach the detail view, you will have to first step out of the table view and then again out of the scroll view.

The scroll view should not be an accessibility element and the first header should not be above the table view in the accessibility hierarchy. The header is actually reachable twice, once as part of the scroll view and once as part of the table view.

(The attached file can also be found here: https://developer.apple.com/library/content/samplecode/AccessibilityUIExamples/Introduction/Intro.html)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!