axe-core 4.11.0-canary.1680105 → 4.11.0-canary.1e9a5c3
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.js +15 -10
- package/axe.min.js +1 -1
- package/package.json +1 -1
package/axe.js
CHANGED
|
@@ -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
|
}
|
|
@@ -31434,7 +31439,7 @@
|
|
|
31434
31439
|
}, {
|
|
31435
31440
|
id: 'bypass',
|
|
31436
31441
|
impact: 'serious',
|
|
31437
|
-
selector: 'html',
|
|
31442
|
+
selector: 'html:not(html *)',
|
|
31438
31443
|
pageLevel: true,
|
|
31439
31444
|
matches: 'bypass-matches',
|
|
31440
31445
|
reviewOnFail: true,
|
|
@@ -31521,7 +31526,7 @@
|
|
|
31521
31526
|
}, {
|
|
31522
31527
|
id: 'css-orientation-lock',
|
|
31523
31528
|
impact: 'serious',
|
|
31524
|
-
selector: 'html',
|
|
31529
|
+
selector: 'html:not(html *)',
|
|
31525
31530
|
tags: [ 'cat.structure', 'wcag134', 'wcag21aa', 'EN-301-549', 'EN-9.1.3.4', 'RGAAv4', 'RGAA-13.9.1', 'experimental' ],
|
|
31526
31531
|
actIds: [ 'b33eff' ],
|
|
31527
31532
|
all: [ {
|
|
@@ -31561,7 +31566,7 @@
|
|
|
31561
31566
|
}, {
|
|
31562
31567
|
id: 'document-title',
|
|
31563
31568
|
impact: 'serious',
|
|
31564
|
-
selector: 'html',
|
|
31569
|
+
selector: 'html:not(html *)',
|
|
31565
31570
|
matches: 'is-initiator-matches',
|
|
31566
31571
|
tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag242', 'TTv5', 'TT12.a', 'EN-301-549', 'EN-9.2.4.2', 'ACT', 'RGAAv4', 'RGAA-8.5.1' ],
|
|
31567
31572
|
actIds: [ '2779a5' ],
|
|
@@ -31656,7 +31661,7 @@
|
|
|
31656
31661
|
}, {
|
|
31657
31662
|
id: 'frame-focusable-content',
|
|
31658
31663
|
impact: 'serious',
|
|
31659
|
-
selector: 'html',
|
|
31664
|
+
selector: 'html:not(html *)',
|
|
31660
31665
|
matches: 'frame-focusable-content-matches',
|
|
31661
31666
|
tags: [ 'cat.keyboard', 'wcag2a', 'wcag211', 'TTv5', 'TT4.a', 'EN-301-549', 'EN-9.2.1.1', 'RGAAv4', 'RGAA-7.3.2' ],
|
|
31662
31667
|
actIds: [ 'akn7bn' ],
|
|
@@ -31666,7 +31671,7 @@
|
|
|
31666
31671
|
}, {
|
|
31667
31672
|
id: 'frame-tested',
|
|
31668
31673
|
impact: 'critical',
|
|
31669
|
-
selector: 'html, frame, iframe',
|
|
31674
|
+
selector: 'html:not(html *), frame, iframe',
|
|
31670
31675
|
tags: [ 'cat.structure', 'best-practice', 'review-item' ],
|
|
31671
31676
|
all: [ {
|
|
31672
31677
|
options: {
|
|
@@ -31723,7 +31728,7 @@
|
|
|
31723
31728
|
}, {
|
|
31724
31729
|
id: 'html-has-lang',
|
|
31725
31730
|
impact: 'serious',
|
|
31726
|
-
selector: 'html',
|
|
31731
|
+
selector: 'html:not(html *)',
|
|
31727
31732
|
matches: 'is-initiator-matches',
|
|
31728
31733
|
tags: [ 'cat.language', 'wcag2a', 'wcag311', 'TTv5', 'TT11.a', 'EN-301-549', 'EN-9.3.1.1', 'ACT', 'RGAAv4', 'RGAA-8.3.1' ],
|
|
31729
31734
|
actIds: [ 'b5c3f8' ],
|
|
@@ -31738,7 +31743,7 @@
|
|
|
31738
31743
|
}, {
|
|
31739
31744
|
id: 'html-lang-valid',
|
|
31740
31745
|
impact: 'serious',
|
|
31741
|
-
selector: 'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',
|
|
31746
|
+
selector: 'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',
|
|
31742
31747
|
tags: [ 'cat.language', 'wcag2a', 'wcag311', 'TTv5', 'TT11.a', 'EN-301-549', 'EN-9.3.1.1', 'ACT', 'RGAAv4', 'RGAA-8.4.1' ],
|
|
31743
31748
|
actIds: [ 'bf051a' ],
|
|
31744
31749
|
all: [],
|
|
@@ -31752,7 +31757,7 @@
|
|
|
31752
31757
|
}, {
|
|
31753
31758
|
id: 'html-xml-lang-mismatch',
|
|
31754
31759
|
impact: 'moderate',
|
|
31755
|
-
selector: 'html[lang][xml\\:lang]',
|
|
31760
|
+
selector: 'html[lang][xml\\:lang]:not(html *)',
|
|
31756
31761
|
matches: 'xml-lang-mismatch-matches',
|
|
31757
31762
|
tags: [ 'cat.language', 'wcag2a', 'wcag311', 'EN-301-549', 'EN-9.3.1.1', 'ACT', 'RGAAv4', 'RGAA-8.3.1' ],
|
|
31758
31763
|
actIds: [ '5b7ae0' ],
|
|
@@ -31961,7 +31966,7 @@
|
|
|
31961
31966
|
}, {
|
|
31962
31967
|
id: 'landmark-one-main',
|
|
31963
31968
|
impact: 'moderate',
|
|
31964
|
-
selector: 'html',
|
|
31969
|
+
selector: 'html:not(html *)',
|
|
31965
31970
|
tags: [ 'cat.semantics', 'best-practice' ],
|
|
31966
31971
|
all: [ {
|
|
31967
31972
|
options: {
|
|
@@ -32181,7 +32186,7 @@
|
|
|
32181
32186
|
}, {
|
|
32182
32187
|
id: 'page-has-heading-one',
|
|
32183
32188
|
impact: 'moderate',
|
|
32184
|
-
selector: 'html',
|
|
32189
|
+
selector: 'html:not(html *)',
|
|
32185
32190
|
tags: [ 'cat.semantics', 'best-practice' ],
|
|
32186
32191
|
all: [ {
|
|
32187
32192
|
options: {
|