Same issue here using UIWebView with scoring. I added the view controller as a delegate of the web view and added the following code (to indicate that the tree has changed) and I no longer have an error:
- (void)webViewDidStartLoad:(UIWebView *)webView { UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil); }
Does it work for you too?
UPDATE 1
The error appears less often, but sometimes appears ...
UPDATE 2
Creating a web view that is not visible due to scoring when loading its contents seems to work so far ...:
- (void)webViewDidStartLoad:(UIWebView *)webView { self.webView.accessibilityElementsHidden = YES; } - (void)webViewDidFinishLoad:(UIWebView *)webView { self.webView.accessibilityElementsHidden = NO; }
source share