4 <script src="../fast/js/resources/js-test-pre.js"></script>
6 description("This tests that the script creation of an audio element with controls works when accessibility is enabled and does not crash.");
8 if (window.testRunner && window.accessibilityController) {
9 function createAudio() {
10 var audio = document.createElement('audio');
11 audio.setAttribute('controls', 'controls');
12 document.documentElement.appendChild(audio);
14 window.onload = createAudio;
17 <script src="../fast/js/resources/js-test-post.js"></script>