7 testRunner.dumpAsText();
8 document.getElementById('bt').focus();
9 if (window.accessibilityController)
10 var test = accessibilityController.focusedElement.stringAttributeValue("aria-activedescendant");
11 document.getElementById('bt').click();
15 <body onload="test()">
16 This tests that there is no crash if you set an aria-activedescendant attribute to an id of an element that has no renderer.<br>
17 <input type="button" id="bt" onclick="this.setAttribute('aria-activedescendant', 'hiddenElement')" value="Use VoiceOver to activate this button, and then navigate to the next element">
18 <div id="hiddenElement" style="display:none"></div>