Skip to content

Commit

Permalink
Fix code to find tab navigable elements on IE10.
Browse files Browse the repository at this point in the history
Refs #10719, fixes #16126 on trunk !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30083 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
wkeese committed Nov 29, 2012
1 parent 93faa9a commit 9248341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ define([
for(var child = parent.firstChild; child; child = child.nextSibling){
// Skip text elements, hidden elements, and also non-HTML elements (those in custom namespaces) in IE,
// since show() invokes getAttribute("type"), which crash on VML nodes in IE.
if(child.nodeType != 1 || (has("ie") && child.scopeName !== "HTML") || !shown(child)){
if(child.nodeType != 1 || (has("ie") <= 9 && child.scopeName !== "HTML") || !shown(child)){
continue;
}

Expand Down

0 comments on commit 9248341

Please sign in to comment.