axe-core 4.11.0-canary.671de01 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- /*! axe v4.11.0-canary.671de01
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.671de01';
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;
@@ -16442,9 +16442,9 @@
16442
16442
  key: 'getRelativeLuminance',
16443
16443
  value: function getRelativeLuminance() {
16444
16444
  var rSRGB = this.r, gSRGB = this.g, bSRGB = this.b;
16445
- var r = rSRGB <= .03928 ? rSRGB / 12.92 : Math.pow((rSRGB + .055) / 1.055, 2.4);
16446
- var g2 = gSRGB <= .03928 ? gSRGB / 12.92 : Math.pow((gSRGB + .055) / 1.055, 2.4);
16447
- var b2 = bSRGB <= .03928 ? bSRGB / 12.92 : Math.pow((bSRGB + .055) / 1.055, 2.4);
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);
16448
16448
  return .2126 * r + .7152 * g2 + .0722 * b2;
16449
16449
  }
16450
16450
  }, {
@@ -31112,7 +31112,7 @@
31112
31112
  selector: 'body',
31113
31113
  excludeHidden: false,
31114
31114
  matches: 'is-initiator-matches',
31115
- tags: [ 'cat.aria', 'wcag2a', 'wcag131', 'wcag412', 'EN-301-549', 'EN-9.1.3.1', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-7.1.1' ],
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' ],
31116
31116
  all: [],
31117
31117
  any: [ 'aria-hidden-body' ],
31118
31118
  none: []
@@ -31122,7 +31122,7 @@
31122
31122
  selector: '[aria-hidden="true"]',
31123
31123
  matches: 'aria-hidden-focus-matches',
31124
31124
  excludeHidden: false,
31125
- tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'TTv5', 'TT6.a', 'EN-301-549', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-7.1.1' ],
31125
+ tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'TTv5', 'TT6.a', 'EN-301-549', 'EN-9.4.1.2', 'RGAAv4', 'RGAA-10.8.1' ],
31126
31126
  actIds: [ '6cfa84' ],
31127
31127
  all: [ 'focusable-modal-open', 'focusable-disabled', 'focusable-not-tabbable' ],
31128
31128
  any: [],
@@ -32362,7 +32362,7 @@
32362
32362
  id: 'valid-lang',
32363
32363
  impact: 'serious',
32364
32364
  selector: '[lang]:not(html), [xml\\:lang]:not(html)',
32365
- tags: [ 'cat.language', 'wcag2aa', 'wcag312', 'TTv5', 'TT11.b', 'EN-301-549', 'EN-9.3.1.2', 'ACT', 'RGAAv4', 'RGAA-8.7.1' ],
32365
+ tags: [ 'cat.language', 'wcag2aa', 'wcag312', 'TTv5', 'TT11.b', 'EN-301-549', 'EN-9.3.1.2', 'ACT', 'RGAAv4', 'RGAA-8.8.1' ],
32366
32366
  actIds: [ 'de46e4' ],
32367
32367
  all: [],
32368
32368
  any: [],