axe-core 4.11.0-canary.669b60a → 4.11.0-canary.a5d3112
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 +13 -10
- 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.11.0-canary.
|
|
1
|
+
/*! axe v4.11.0-canary.a5d3112
|
|
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.11.0-canary.
|
|
25
|
+
axe.version = '4.11.0-canary.a5d3112';
|
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
|
27
27
|
define('axe-core', [], function() {
|
|
28
28
|
return axe;
|
|
@@ -16403,7 +16403,10 @@
|
|
|
16403
16403
|
prototypeArrayFrom = Array.from;
|
|
16404
16404
|
Array.from = import_from2['default'];
|
|
16405
16405
|
}
|
|
16406
|
-
var _color2 = new _Color(colorString).
|
|
16406
|
+
var _color2 = new _Color(colorString).toGamut({
|
|
16407
|
+
space: 'srgb',
|
|
16408
|
+
method: 'clip'
|
|
16409
|
+
}).to('srgb');
|
|
16407
16410
|
if (prototypeArrayFrom) {
|
|
16408
16411
|
Array.from = prototypeArrayFrom;
|
|
16409
16412
|
prototypeArrayFrom = null;
|
|
@@ -16439,9 +16442,9 @@
|
|
|
16439
16442
|
key: 'getRelativeLuminance',
|
|
16440
16443
|
value: function getRelativeLuminance() {
|
|
16441
16444
|
var rSRGB = this.r, gSRGB = this.g, bSRGB = this.b;
|
|
16442
|
-
var r = rSRGB <= .
|
|
16443
|
-
var g2 = gSRGB <= .
|
|
16444
|
-
var b2 = bSRGB <= .
|
|
16445
|
+
var r = rSRGB <= .04045 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4);
|
|
16446
|
+
var g2 = gSRGB <= .04045 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4);
|
|
16447
|
+
var b2 = bSRGB <= .04045 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4);
|
|
16445
16448
|
return .2126 * r + .7152 * g2 + .0722 * b2;
|
|
16446
16449
|
}
|
|
16447
16450
|
}, {
|
|
@@ -20052,7 +20055,7 @@
|
|
|
20052
20055
|
return selectAllRecursive(selectorArr, doc);
|
|
20053
20056
|
}
|
|
20054
20057
|
function selectAllRecursive(_ref78, doc) {
|
|
20055
|
-
var _ref79 = _toArray(_ref78), selectorStr = _ref79[0], restSelector = _ref79.slice(1);
|
|
20058
|
+
var _ref79 = _toArray(_ref78), selectorStr = _ref79[0], restSelector = _arrayLikeToArray(_ref79).slice(1);
|
|
20056
20059
|
var elms = doc.querySelectorAll(selectorStr);
|
|
20057
20060
|
if (restSelector.length === 0) {
|
|
20058
20061
|
return Array.from(elms);
|
|
@@ -31109,7 +31112,7 @@
|
|
|
31109
31112
|
selector: 'body',
|
|
31110
31113
|
excludeHidden: false,
|
|
31111
31114
|
matches: 'is-initiator-matches',
|
|
31112
|
-
tags: [ 'cat.aria', 'wcag2a', 'wcag131', 'wcag412', 'EN-301-549', 'EN-9.1.3.1', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-
|
|
31115
|
+
tags: [ 'cat.aria', 'wcag2a', 'wcag131', 'wcag412', 'EN-301-549', 'EN-9.1.3.1', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-10.8.1' ],
|
|
31113
31116
|
all: [],
|
|
31114
31117
|
any: [ 'aria-hidden-body' ],
|
|
31115
31118
|
none: []
|
|
@@ -31119,7 +31122,7 @@
|
|
|
31119
31122
|
selector: '[aria-hidden="true"]',
|
|
31120
31123
|
matches: 'aria-hidden-focus-matches',
|
|
31121
31124
|
excludeHidden: false,
|
|
31122
|
-
tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'TTv5', 'TT6.a', 'EN-301-549', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-
|
|
31125
|
+
tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'TTv5', 'TT6.a', 'EN-301-549', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-10.8.1' ],
|
|
31123
31126
|
actIds: [ '6cfa84' ],
|
|
31124
31127
|
all: [ 'focusable-modal-open', 'focusable-disabled', 'focusable-not-tabbable' ],
|
|
31125
31128
|
any: [],
|
|
@@ -32359,7 +32362,7 @@
|
|
|
32359
32362
|
id: 'valid-lang',
|
|
32360
32363
|
impact: 'serious',
|
|
32361
32364
|
selector: '[lang]:not(html), [xml\\:lang]:not(html)',
|
|
32362
|
-
tags: [ 'cat.language', 'wcag2aa', 'wcag312', 'TTv5', 'TT11.b', 'EN-301-549', 'EN-9.3.1.2', 'ACT', 'RGAAv4', 'RGAA-8.
|
|
32365
|
+
tags: [ 'cat.language', 'wcag2aa', 'wcag312', 'TTv5', 'TT11.b', 'EN-301-549', 'EN-9.3.1.2', 'ACT', 'RGAAv4', 'RGAA-8.8.1' ],
|
|
32363
32366
|
actIds: [ 'de46e4' ],
|
|
32364
32367
|
all: [],
|
|
32365
32368
|
any: [],
|