I have webView and on LoadFinished method I'm invoking EvaluateJavascript for accessibility mode where it should focus the word or sentence in the web view content. The line of code below, works fine on every iOS device except iPhone X.
webView.EvaluateJavascript ("javascript: var element = document.getElementsByClassName('highlight'); setTimeout(function(){ element[0].focus(); }, 1500);");
The flow on iPhone X is: when screen is loaded instead of waiting 1.5 sec and then focus the element, element is focused immediate and then accessibility is focusing the first element of the screen (the button in the nav bar).
Could there be any difference in the accessibility screen reader on the iPhone X and the other iOS devices?