This test is the same as the previous test, with one huge exception. I am hiding and showing non-child elements. In the previous test I was hiding and showing a form and attempting to give focus to a form field inside it; and hiding and showing an unordered list and attempting to give focus to an item inside it. In the current test I'm hiding and displaying the very item I'm wanting to give focus to.
This works fine on the input field - VoiceOver gives the field focus after it appears, and reads the title attribute.
It does not work on the anchor element. However, I was able to get the link to work in the previous test by implementing a timeout, and that works in this case too. Placing the .focus() method inside the callback function of the .show() method is not in and of itself sufficient, but adding an additional delay of I'm trying all the same tricks I tried in the previous test (various ways of