Difference between revisions of "Dialog Element"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
   <div id="d1" style="text-align:center;">Do you need more time?</div>
 
   <div id="d1" style="text-align:center;">Do you need more time?</div>
 
   <div style="text-align:center;">
 
   <div style="text-align:center;">
     <button> Yes </button>
+
     <button onclick="document.getElementById('dialog1').removeAttribute('open');"> Yes </button>
     <button> No </button>
+
     <button onclick="document.getElementById('dialog1').removeAttribute('open');"> No </button>
 
   </div>
 
   </div>
 
  </dialog>
 
  </dialog>

Revision as of 13:02, 24 June 2015

Do you need more time?

Test results for Dialog Element

None of the screen reders announce the role of dialog for the HTML5 Dialog element.