aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Li2012-03-09 09:42:04 (EST)
committerSilenio Quarti2012-03-09 15:24:03 (EST)
commit4a191b98d67c8d6e6fc92d2b3e814919a7d469ef (patch)
tree3203d84f4464820e634775848609b358b82116de
parent9d356f243e95e7132f3a282a5218db81a659b8e7 (diff)
downloadorg.eclipse.orion.client-4a191b98d67c8d6e6fc92d2b3e814919a7d469ef.zip
org.eclipse.orion.client-4a191b98d67c8d6e6fc92d2b3e814919a7d469ef.tar.gz
org.eclipse.orion.client-4a191b98d67c8d6e6fc92d2b3e814919a7d469ef.tar.bz2
Bug 372762 - Hide line number ruler from screen readersv20120309-2024
-rw-r--r--bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js2
1 files changed, 2 insertions, 0 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 3dc5833..6317cf0 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
@@ -3391,6 +3391,7 @@ define("orion/textview/textView", ['orion/textview/textModel', 'orion/textview/k
leftDiv.style.WebkitUserSelect = "none";
leftDiv.style.position = "absolute";
leftDiv.style.cursor = "default";
+ leftDiv.setAttribute("aria-hidden", "true");
var table = document.createElement("TABLE");
leftDiv.appendChild(table);
table.cellPadding = "0px";
@@ -3420,6 +3421,7 @@ define("orion/textview/textView", ['orion/textview/textModel', 'orion/textview/k
rightDiv.style.WebkitUserSelect = "none";
rightDiv.style.position = "absolute";
rightDiv.style.cursor = "default";
+ rightDiv.setAttribute("aria-hidden", "true");
table = document.createElement("TABLE");
rightDiv.appendChild(table);
table.cellPadding = "0px";