Add ARIA dialog role to Markdown editor dialogs

This commit is contained in:
Greg Price
2013-09-12 10:47:47 -04:00
parent 049aa3bbfd
commit 67053feec1

View File

@@ -1063,6 +1063,7 @@
// The main dialog box.
dialog = doc.createElement("div");
dialog.setAttribute("role", "dialog");
dialog.className = "wmd-prompt-dialog";
dialog.style.padding = "10px;";
dialog.style.position = "fixed";