Skip to content
Browse files

fixed accessibility issue

  • Loading branch information...
1 parent 6f257ae commit 784190591a3274e0c9ff5e2452f45e96ccdbffe6 @GoodBoyDigital GoodBoyDigital committed
Showing with 8 additions and 3 deletions.
  1. +8 −3 src/accessibility/AccessibilityManager.js
View
11 src/accessibility/AccessibilityManager.js
@@ -162,11 +162,16 @@ AccessibilityManager.prototype.updateAccessibleObjects = function(displayObject)
displayObject.renderId = this.renderId;
}
- var children = displayObject.children;
- for (var i = children.length - 1; i >= 0; i--) {
+ if(displayObject.interactiveChildren)
+ {
+
+ var children = displayObject.children;
+
+ for (var i = children.length - 1; i >= 0; i--) {
- this.updateAccessibleObjects(children[i]);
+ this.updateAccessibleObjects(children[i]);
+ }
}
};

0 comments on commit 7841905

Please sign in to comment.
Something went wrong with that request. Please try again.