aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Li2012-03-09 09:42:04 (EST)
committerSilenio Quarti2012-03-09 15:24:03 (EST)
commite9b261c9f7ccfc40d5859388aed058664dbf93da (patch)
tree3203d84f4464820e634775848609b358b82116de
parentd549c9a44985bac0e4bb39ea5355b66064ad40cf (diff)
downloadorg.eclipse.orion.client-e9b261c9f7ccfc40d5859388aed058664dbf93da.zip
org.eclipse.orion.client-e9b261c9f7ccfc40d5859388aed058664dbf93da.tar.gz
org.eclipse.orion.client-e9b261c9f7ccfc40d5859388aed058664dbf93da.tar.bz2
Bug 372762 - Hide line number ruler from screen readers
-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";