http://www.openradar.me/radar?id=4958193646043136
Area: Accessibility
Summary: UITableView has wrong content offset and not able to scroll content when tableView consist UIRefreshController and enable VoiceOver. This happens only when the content of tableview is bigger than frame.height - when we can scroll content.
Steps to Reproduce:
- Project:
- Create project on Xcode;
- In Storyboard add UINavigationController with and as rootViewController should be UITableViewController
- Enable "Refreshing" on UITableViewController in Storyboard.
- Assign class(TableViewController) to UITableViewController
- In TableViewController.swift add refreshControl?.addTarget(self, action: #selector(TableViewController.refreshHandler), for: .valueChanged) inside refreshHandler add @objc func refreshHandler(){ self.refreshControl?.endRefreshing() }
- For testing TableViewController should be scrollable: we return numberOfRowsInSection as an example 50
- Testing:
- Enable "VoiceOver" on device;
- Open the application(that described above).
- Select any cell on the tableview
- Using 3 finger scroll up to call UIRefreshControl
Expected Results: The content(the first cell) of tableview now under navigation bar and user can't scroll down or select the first cell
Actual Results: User should be able to scroll content and select the first cell
Version/Build: iOS 11.1 (15B5066f) but also reproduce on iOS 10.3
Configuration: iPad (5th generation) (Model A1822) - doesn't matter