Code: Select all
EnableJS
synth = window.speechSynthesis;
aria = document.createElement("div");
aria.id = "speech" ;
aria.style = "position: absolute; left: 0px; top: -400px";
aria.setAttribute("aria-live", "assertive") ;
document.body.appendChild(aria) ;
DisableJS