diff --git a/accessibility-checker-engine/src/v2/aria/ARIAWalker.ts b/accessibility-checker-engine/src/v2/aria/ARIAWalker.ts index a13775e39..e7fef57d2 100644 --- a/accessibility-checker-engine/src/v2/aria/ARIAWalker.ts +++ b/accessibility-checker-engine/src/v2/aria/ARIAWalker.ts @@ -35,9 +35,9 @@ export class ARIAWalker { this.root = (this.root as Document).documentElement } this.node = element; - if (this.node.nodeType === 9) { - this.node = (this.node as Document).documentElement - } + // if (this.node.nodeType === 9) { + // this.node = (this.node as Document).documentElement + // } this.bEndTag = (bEnd == undefined ? false : bEnd == true); }