axe-core 4.11.0-canary.d0e6d8e → 4.11.0-canary.fde5ef9

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.d0e6d8e
1
+ /*! axe v4.11.0-canary.fde5ef9
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.d0e6d8e';
25
+ axe.version = '4.11.0-canary.fde5ef9';
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
  }, {