Exercise Three - Fill in the Blanks

The Code

function hide() {
      enableButtons();
      window.myparent = document.getElementById("a");
      window.myobj = document.getElementById("b");
      window.myparent.removeChild(window.myobj);
                
      1 Blank Answer Space

}

function show() {
      disableButtons();
      window.myparent.appendChild(window.myobj);

      2 Blank Answer Space

} 

The Answer Choices

  1. myAlert.setAttribute(‘role’,’application’);
  2. Sorry, this site uses Canvas.
  3. remove aria-live=”polite”,
  4. myAlert.setAttribute(‘role’, ‘alert’);
  5. change aria-live=”polite” to aria-live=”assertive”
  6. document.getElementById("ShowButton").focus();
  7. document.focus();
  8. Hello World!
  9. remove <h3>Timer</h3>
  10. document.getElementById("StayButton").focus();
  11. myAlert.setAttribute(‘role’, ‘slider’);