summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMax Li2012-03-09 14:41:10 (EST)
committer Silenio Quarti2012-03-09 15:18:38 (EST)
commitd549c9a44985bac0e4bb39ea5355b66064ad40cf (patch)
tree609719863571b2dde7d4cfe672f97a453e968569
parent36ca2a4c18e46e1b945a59599cf53a3095f63dd9 (diff)
downloadorg.eclipse.orion.client-d549c9a44985bac0e4bb39ea5355b66064ad40cf.zip
org.eclipse.orion.client-d549c9a44985bac0e4bb39ea5355b66064ad40cf.tar.gz
org.eclipse.orion.client-d549c9a44985bac0e4bb39ea5355b66064ad40cf.tar.bz2
Bug 373839 - Editor no longer works with JAWS
-rw-r--r--bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
index 4e8f6db..3dc5833 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js
@@ -3379,6 +3379,7 @@ define("orion/textview/textView", ['orion/textview/textModel', 'orion/textview/k
rootDiv.tabIndex = -1;
rootDiv.style.position = "absolute";
rootDiv.style.overflow = "hidden";
+ rootDiv.setAttribute("role", "application");
parent.appendChild(rootDiv);
var leftDiv = document.createElement("DIV");
@@ -3408,7 +3409,6 @@ define("orion/textview/textView", ['orion/textview/textModel', 'orion/textview/k
viewDiv.style.borderWidth = "0px";
viewDiv.style.margin = "0px";
viewDiv.style.outline = "none";
- viewDiv.setAttribute("role", "application");
rootDiv.appendChild(viewDiv);
var rightDiv = document.createElement("DIV");