Skip to content

Commit

Permalink
Fixed self-referencing CSS pseudo element bug in reccursion algorithm…
Browse files Browse the repository at this point in the history
… for Visual ARIA
  • Loading branch information
accdc committed Feb 2, 2017
1 parent 172172f commit 9c6aae8
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -356,9 +356,12 @@ Part of the ARIA Role Conformance Matrices, distributed under the terms of the O
if (inArray(obj, nds) === -1){
nds.push(obj);

if (isIdRef)
if (isIdRef || obj == refObj){
idRefNode = obj;
cssOP = getCSSText(obj, null);
}

// Disabled to prevent self referencing by Visual ARIA tooltips
// cssOP = getCSSText(obj, null);
}

walkDOM(obj, function(o, refObj){
Expand Down

0 comments on commit 9c6aae8

Please sign in to comment.