axe-core 4.11.0-canary.ccf56cd → 4.11.0-canary.d4aee16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/axe.d.ts +4 -2
- package/axe.js +6 -1
- package/axe.min.js +2 -2
- package/package.json +1 -1
package/axe.d.ts
CHANGED
|
@@ -386,8 +386,10 @@ declare namespace axe {
|
|
|
386
386
|
frameContext: FrameContextObject;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
interface RawCheckResult
|
|
390
|
-
|
|
389
|
+
interface RawCheckResult extends Omit<
|
|
390
|
+
CheckResult,
|
|
391
|
+
'relatedNodes' | 'impact'
|
|
392
|
+
> {
|
|
391
393
|
relatedNodes?: Array<SerialDqElement | DqElement>;
|
|
392
394
|
impact?: ImpactValue;
|
|
393
395
|
}
|
package/axe.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! axe v4.11.0
|
|
2
|
-
* Copyright (c) 2015 -
|
|
2
|
+
* Copyright (c) 2015 - 2026 Deque Systems, Inc.
|
|
3
3
|
*
|
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
5
5
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
@@ -18840,6 +18840,11 @@
|
|
|
18840
18840
|
if (item instanceof window.Node) {
|
|
18841
18841
|
if (item.documentElement instanceof window.Node) {
|
|
18842
18842
|
result.push(context.flatTree[0]);
|
|
18843
|
+
} else if (item.host instanceof window.Node) {
|
|
18844
|
+
var children = Array.from(item.children).map(function(child) {
|
|
18845
|
+
return get_node_from_tree_default(child);
|
|
18846
|
+
});
|
|
18847
|
+
result.push.apply(result, _toConsumableArray(children));
|
|
18843
18848
|
} else {
|
|
18844
18849
|
result.push(get_node_from_tree_default(item));
|
|
18845
18850
|
}
|