You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Also prevent the current form field from having its value included in the naming computation if nested as a child of label
382
+
parts.push(
383
+
walk(element,true,skip,[node],element===refNode,{
384
+
ref: ownedBy,
385
+
top: element
386
+
}).name
387
+
);
388
+
}
389
+
// Check for blank value, since whitespace chars alone are not valid as a name
390
+
name=trim(parts.join(" "));
391
+
392
+
if(trim(name)){
393
+
hasName=true;
394
+
hLabel=true;
395
+
hasLabel=true;
396
+
// Abort further recursion if name is valid.
397
+
result.skip=true;
398
+
}
399
+
}
400
+
375
401
// Check for non-empty value of aria-describedby/description if current node equals reference node, follow each ID ref, then stop and process no deeper.
376
402
if(
377
403
!stop&&
@@ -405,32 +431,6 @@ Plus roles extended for the Role Parity project.
405
431
}
406
432
}
407
433
408
-
// Check for non-empty value of aria-labelledby on current node, follow each ID ref, then stop and process no deeper.
0 commit comments