axe-core 4.3.3-canary.400a230 → 4.3.3-canary.6e714f4

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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [4.3.3-canary.400a230](https://github.com/dequelabs/axe-core/compare/v4.3.3...v4.3.3-canary.400a230) (2021-10-04)
5
+ ### [4.3.3-canary.6e714f4](https://github.com/dequelabs/axe-core/compare/v4.3.3...v4.3.3-canary.6e714f4) (2021-10-05)
6
6
 
7
7
 
8
8
  ### Features
package/axe.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! axe v4.3.3-canary.400a230
1
+ /*! axe v4.3.3-canary.6e714f4
2
2
  * Copyright (c) 2021 Deque Systems, Inc.
3
3
  *
4
4
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -27,7 +27,7 @@
27
27
  return _typeof(obj);
28
28
  }
29
29
  var axe = axe || {};
30
- axe.version = '4.3.3-canary.400a230';
30
+ axe.version = '4.3.3-canary.6e714f4';
31
31
  if (typeof define === 'function' && define.amd) {
32
32
  define('axe-core', [], function() {
33
33
  return axe;
@@ -17248,14 +17248,14 @@
17248
17248
  var missing;
17249
17249
  if (bgColor === null) {
17250
17250
  missing = incomplete_data_default.get('bgColor');
17251
- } else {
17251
+ } else if (!isValid) {
17252
17252
  missing = contrastContributor;
17253
17253
  }
17254
17254
  var equalRatio = truncatedResult === 1;
17255
17255
  var shortTextContent = visibleText.length === 1;
17256
17256
  if (equalRatio) {
17257
17257
  missing = incomplete_data_default.set('bgColor', 'equalRatio');
17258
- } else if (shortTextContent && !ignoreLength) {
17258
+ } else if (!isValid && shortTextContent && !ignoreLength) {
17259
17259
  missing = 'shortTextContent';
17260
17260
  }
17261
17261
  this.data({