I have a UITableView that I build in loadView. One of the things I do in loadView is create a UIView to act as the table head
UITableView
loadView
UIView
I used KIF for testing my IOS app. In my tableview, I assigned value to tableview.accesssibilityIdentifier instead of tableview.accessibilityLabel. It worked for me. Wanna give it a try?