axe-core 4.10.3-canary.da90a63 → 4.10.3-canary.f836bcf
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 +7 -6
- package/axe.min.js +2 -2
- package/locales/_template.json +2 -2
- package/locales/ja.json +122 -113
- package/locales/pt_PT.json +1123 -0
- package/package.json +3 -3
- package/sri-history.json +3 -3
package/axe.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! axe v4.10.3-canary.
|
|
1
|
+
/*! axe v4.10.3-canary.f836bcf
|
|
2
2
|
* Copyright (c) 2015 - 2025 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(o);
|
|
23
23
|
}
|
|
24
24
|
var axe = axe || {};
|
|
25
|
-
axe.version = '4.10.3-canary.
|
|
25
|
+
axe.version = '4.10.3-canary.f836bcf';
|
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
|
27
27
|
define('axe-core', [], function() {
|
|
28
28
|
return axe;
|
|
@@ -26631,7 +26631,8 @@
|
|
|
26631
26631
|
var elementsAllowedAriaLabel = (options === null || options === void 0 ? void 0 : options.elementsAllowedAriaLabel) || [];
|
|
26632
26632
|
var nodeName2 = virtualNode.props.nodeName;
|
|
26633
26633
|
var role = get_role_default(virtualNode, {
|
|
26634
|
-
chromium: true
|
|
26634
|
+
chromium: true,
|
|
26635
|
+
fallback: true
|
|
26635
26636
|
});
|
|
26636
26637
|
var prohibitedList = listProhibitedAttrs(virtualNode, role, nodeName2, elementsAllowedAriaLabel);
|
|
26637
26638
|
var prohibited = prohibitedList.filter(function(attrName) {
|
|
@@ -26643,7 +26644,7 @@
|
|
|
26643
26644
|
if (prohibited.length === 0) {
|
|
26644
26645
|
return false;
|
|
26645
26646
|
}
|
|
26646
|
-
var messageKey =
|
|
26647
|
+
var messageKey = role !== null ? 'hasRole' : 'noRole';
|
|
26647
26648
|
messageKey += prohibited.length > 1 ? 'Plural' : 'Singular';
|
|
26648
26649
|
this.data({
|
|
26649
26650
|
role: role,
|
|
@@ -29583,8 +29584,8 @@
|
|
|
29583
29584
|
help: 'Page should contain a level-one heading'
|
|
29584
29585
|
},
|
|
29585
29586
|
'presentation-role-conflict': {
|
|
29586
|
-
description: 'Ensure elements marked as presentational
|
|
29587
|
-
help: 'Elements marked as presentational should
|
|
29587
|
+
description: 'Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them',
|
|
29588
|
+
help: 'Elements marked as presentational should be consistently ignored'
|
|
29588
29589
|
},
|
|
29589
29590
|
region: {
|
|
29590
29591
|
description: 'Ensure all page content is contained by landmarks',
|