axe-core 4.7.2-canary.bba4d75 → 4.7.2-canary.c6e07be
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 -11
- package/axe.min.js +2 -2
- package/package.json +1 -1
- package/sri-history.json +3 -3
package/axe.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! axe v4.7.2-canary.
|
|
1
|
+
/*! axe v4.7.2-canary.c6e07be
|
|
2
2
|
* Copyright (c) 2023 Deque Systems, Inc.
|
|
3
3
|
*
|
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}, _typeof(obj);
|
|
23
23
|
}
|
|
24
24
|
var axe = axe || {};
|
|
25
|
-
axe.version = '4.7.2-canary.
|
|
25
|
+
axe.version = '4.7.2-canary.c6e07be';
|
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
|
27
27
|
define('axe-core', [], function() {
|
|
28
28
|
return axe;
|
|
@@ -22410,6 +22410,11 @@
|
|
|
22410
22410
|
return elm.actualNode.hasAttribute('role') || !find_up_virtual_default(elm, options.nativeScopeFilter);
|
|
22411
22411
|
});
|
|
22412
22412
|
}
|
|
22413
|
+
if (typeof options.role === 'string') {
|
|
22414
|
+
elms = elms.filter(function(elm) {
|
|
22415
|
+
return get_role_default(elm) === options.role;
|
|
22416
|
+
});
|
|
22417
|
+
}
|
|
22413
22418
|
this.relatedNodes(elms.filter(function(elm) {
|
|
22414
22419
|
return elm !== virtualNode;
|
|
22415
22420
|
}).map(function(elm) {
|
|
@@ -27770,7 +27775,7 @@
|
|
|
27770
27775
|
}
|
|
27771
27776
|
},
|
|
27772
27777
|
'no-implicit-explicit-label': {
|
|
27773
|
-
impact: '
|
|
27778
|
+
impact: 'serious',
|
|
27774
27779
|
messages: {
|
|
27775
27780
|
pass: 'There is no mismatch between a <label> and accessible name',
|
|
27776
27781
|
incomplete: 'Check that the <label> does not need be part of the ARIA ${data} field\'s name'
|
|
@@ -29383,7 +29388,7 @@
|
|
|
29383
29388
|
},
|
|
29384
29389
|
id: 'non-empty-placeholder'
|
|
29385
29390
|
}, 'presentational-role' ],
|
|
29386
|
-
none: [ '
|
|
29391
|
+
none: [ 'hidden-explicit-label' ]
|
|
29387
29392
|
}, {
|
|
29388
29393
|
id: 'landmark-banner-is-top-level',
|
|
29389
29394
|
selector: 'header:not([role]), [role=banner]',
|
|
@@ -29422,7 +29427,7 @@
|
|
|
29422
29427
|
any: [ {
|
|
29423
29428
|
options: {
|
|
29424
29429
|
selector: 'header:not([role]), [role=banner]',
|
|
29425
|
-
|
|
29430
|
+
role: 'banner'
|
|
29426
29431
|
},
|
|
29427
29432
|
id: 'page-no-duplicate-banner'
|
|
29428
29433
|
} ],
|
|
@@ -29435,7 +29440,7 @@
|
|
|
29435
29440
|
any: [ {
|
|
29436
29441
|
options: {
|
|
29437
29442
|
selector: 'footer:not([role]), [role=contentinfo]',
|
|
29438
|
-
|
|
29443
|
+
role: 'contentinfo'
|
|
29439
29444
|
},
|
|
29440
29445
|
id: 'page-no-duplicate-contentinfo'
|
|
29441
29446
|
} ],
|
|
@@ -29738,7 +29743,7 @@
|
|
|
29738
29743
|
},
|
|
29739
29744
|
id: 'non-empty-title'
|
|
29740
29745
|
}, 'presentational-role' ],
|
|
29741
|
-
none: [ '
|
|
29746
|
+
none: [ 'hidden-explicit-label' ]
|
|
29742
29747
|
}, {
|
|
29743
29748
|
id: 'server-side-image-map',
|
|
29744
29749
|
selector: 'img[ismap]',
|
|
@@ -30079,7 +30084,7 @@
|
|
|
30079
30084
|
after: 'page-no-duplicate-after',
|
|
30080
30085
|
options: {
|
|
30081
30086
|
selector: 'header:not([role]), [role=banner]',
|
|
30082
|
-
|
|
30087
|
+
role: 'banner'
|
|
30083
30088
|
}
|
|
30084
30089
|
}, {
|
|
30085
30090
|
id: 'page-no-duplicate-contentinfo',
|
|
@@ -30087,7 +30092,7 @@
|
|
|
30087
30092
|
after: 'page-no-duplicate-after',
|
|
30088
30093
|
options: {
|
|
30089
30094
|
selector: 'footer:not([role]), [role=contentinfo]',
|
|
30090
|
-
|
|
30095
|
+
role: 'contentinfo'
|
|
30091
30096
|
}
|
|
30092
30097
|
}, {
|
|
30093
30098
|
id: 'page-no-duplicate-main',
|
|
@@ -30113,8 +30118,7 @@
|
|
|
30113
30118
|
evaluate: 'explicit-evaluate'
|
|
30114
30119
|
}, {
|
|
30115
30120
|
id: 'help-same-as-label',
|
|
30116
|
-
evaluate: 'help-same-as-label-evaluate'
|
|
30117
|
-
enabled: false
|
|
30121
|
+
evaluate: 'help-same-as-label-evaluate'
|
|
30118
30122
|
}, {
|
|
30119
30123
|
id: 'hidden-explicit-label',
|
|
30120
30124
|
evaluate: 'hidden-explicit-label-evaluate'
|