Hidden Collection View Items Still Visible To VoiceOver

Originator:florian.luecke
Number:rdar://47077422 Date Originated:01/07/2019
Status:Open Resolved:
Product:macOS + SDK Product Version:10.14.2 (18C54)
Classification:Bug Reproducible:always
 
Area:
Accessibility

Summary:
When using setting the `hidden` property on an NSCollectionViewLayoutAttributes object, the corresponding item does not occur in the view hierarchy, nor in the accessibility hierarchy (as shown by accessibility inspector). However, when using VO+Left Arrow or VO+Right Arrow to navigate the collection view's accessibility children, hidden items are still read to the user.

Steps to Reproduce:
1. Hide an NSCollectionViewItem using the `hidden` property of NSCollectionViewLayoutAttributes.
2. Navigate the collection view using VoiceOver.

Expected Results:
The item should be invisible to VoiceOver.

Actual Results:
The item is visible to VoiceOver

Version/Build:
macOS Version 10.14.2 (18C54)

Comments


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!