axe-core 4.4.3-canary.e3947e2 → 4.4.3-canary.e8a9459

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.4.3-canary.e3947e2
1
+ /*! axe v4.4.3-canary.e8a9459
2
2
  * Copyright (c) 2022 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(obj);
23
23
  }
24
24
  var axe = axe || {};
25
- axe.version = '4.4.3-canary.e3947e2';
25
+ axe.version = '4.4.3-canary.e8a9459';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -7281,6 +7281,9 @@
7281
7281
  isModalOpen: function isModalOpen() {
7282
7282
  return is_modal_open_default;
7283
7283
  },
7284
+ isMultiline: function isMultiline() {
7285
+ return _isMultiline;
7286
+ },
7284
7287
  isNativelyFocusable: function isNativelyFocusable() {
7285
7288
  return is_natively_focusable_default;
7286
7289
  },
@@ -8395,6 +8398,36 @@
8395
8398
  return void 0;
8396
8399
  }
8397
8400
  var is_modal_open_default = isModalOpen;
8401
+ function _isMultiline(domNode) {
8402
+ var margin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
8403
+ var range = domNode.ownerDocument.createRange();
8404
+ range.setStart(domNode, 0);
8405
+ range.setEnd(domNode, domNode.childNodes.length);
8406
+ var lastLineEnd = 0;
8407
+ var lineCount = 0;
8408
+ var _iterator2 = _createForOfIteratorHelper(range.getClientRects()), _step2;
8409
+ try {
8410
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {
8411
+ var rect = _step2.value;
8412
+ if (rect.height <= margin) {
8413
+ continue;
8414
+ }
8415
+ if (lastLineEnd > rect.top + margin) {
8416
+ lastLineEnd = Math.max(lastLineEnd, rect.bottom);
8417
+ } else if (lineCount === 0) {
8418
+ lastLineEnd = rect.bottom;
8419
+ lineCount++;
8420
+ } else {
8421
+ return true;
8422
+ }
8423
+ }
8424
+ } catch (err) {
8425
+ _iterator2.e(err);
8426
+ } finally {
8427
+ _iterator2.f();
8428
+ }
8429
+ return false;
8430
+ }
8398
8431
  function isNode(element) {
8399
8432
  return element instanceof window.Node;
8400
8433
  }
@@ -16340,6 +16373,9 @@
16340
16373
  return true;
16341
16374
  }
16342
16375
  var aria_allowed_role_evaluate_default = ariaAllowedRoleEvaluate;
16376
+ function ariaBusyEvaluate(node, options, virtualNode) {
16377
+ return virtualNode.attr('aria-busy') === 'true';
16378
+ }
16343
16379
  function ariaErrormessageEvaluate(node, options, virtualNode) {
16344
16380
  options = Array.isArray(options) ? options : [];
16345
16381
  var attr = virtualNode.attr('aria-errormessage');
@@ -16617,7 +16653,8 @@
16617
16653
  var aria_required_parent_evaluate_default = ariaRequiredParentEvaluate;
16618
16654
  function ariaRoledescriptionEvaluate(node) {
16619
16655
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
16620
- var role = get_role_default(node);
16656
+ var virtualNode = arguments.length > 2 ? arguments[2] : undefined;
16657
+ var role = get_role_default(virtualNode);
16621
16658
  var supportedRoles = options.supportedRoles || [];
16622
16659
  if (supportedRoles.includes(role)) {
16623
16660
  return true;
@@ -19328,19 +19365,19 @@
19328
19365
  return;
19329
19366
  }
19330
19367
  var frameAncestry = r.node.ancestry.slice(0, -1);
19331
- var _iterator2 = _createForOfIteratorHelper(iframeResults), _step2;
19368
+ var _iterator3 = _createForOfIteratorHelper(iframeResults), _step3;
19332
19369
  try {
19333
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {
19334
- var iframeResult = _step2.value;
19370
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) {
19371
+ var iframeResult = _step3.value;
19335
19372
  if (match_ancestry_default(frameAncestry, iframeResult.node.ancestry)) {
19336
19373
  r.result = iframeResult.result;
19337
19374
  break;
19338
19375
  }
19339
19376
  }
19340
19377
  } catch (err) {
19341
- _iterator2.e(err);
19378
+ _iterator3.e(err);
19342
19379
  } finally {
19343
- _iterator2.f();
19380
+ _iterator3.f();
19344
19381
  }
19345
19382
  });
19346
19383
  iframeResults.forEach(function(r) {
@@ -19508,6 +19545,59 @@
19508
19545
  return virtualNode.hasAttr('alt');
19509
19546
  }
19510
19547
  var has_alt_evaluate_default = hasAltEvaluate;
19548
+ function inlineStyleProperty(node, options) {
19549
+ var cssProperty = options.cssProperty, absoluteValues = options.absoluteValues, minValue = options.minValue, maxValue = options.maxValue, _options$normalValue = options.normalValue, normalValue = _options$normalValue === void 0 ? 0 : _options$normalValue, noImportant = options.noImportant, multiLineOnly = options.multiLineOnly;
19550
+ if (!noImportant && node.style.getPropertyPriority(cssProperty) !== 'important' || multiLineOnly && !_isMultiline(node)) {
19551
+ return true;
19552
+ }
19553
+ var data2 = {};
19554
+ if (typeof minValue === 'number') {
19555
+ data2.minValue = minValue;
19556
+ }
19557
+ if (typeof maxValue === 'number') {
19558
+ data2.maxValue = maxValue;
19559
+ }
19560
+ var declaredPropValue = node.style.getPropertyValue(cssProperty);
19561
+ if ([ 'inherit', 'unset', 'revert', 'revert-layer' ].includes(declaredPropValue)) {
19562
+ this.data(_extends({
19563
+ value: declaredPropValue
19564
+ }, data2));
19565
+ return true;
19566
+ }
19567
+ var value = getNumberValue(node, {
19568
+ absoluteValues: absoluteValues,
19569
+ cssProperty: cssProperty,
19570
+ normalValue: normalValue
19571
+ });
19572
+ this.data(_extends({
19573
+ value: value
19574
+ }, data2));
19575
+ if (typeof value !== 'number') {
19576
+ return void 0;
19577
+ }
19578
+ if ((typeof minValue !== 'number' || value >= minValue) && (typeof maxValue !== 'number' || value <= maxValue)) {
19579
+ return true;
19580
+ }
19581
+ return false;
19582
+ }
19583
+ function getNumberValue(domNode, _ref85) {
19584
+ var cssProperty = _ref85.cssProperty, absoluteValues = _ref85.absoluteValues, normalValue = _ref85.normalValue;
19585
+ var computedStyle = window.getComputedStyle(domNode);
19586
+ var cssPropValue = computedStyle.getPropertyValue(cssProperty);
19587
+ if (cssPropValue === 'normal') {
19588
+ return normalValue;
19589
+ }
19590
+ var parsedValue = parseFloat(cssPropValue);
19591
+ if (absoluteValues) {
19592
+ return parsedValue;
19593
+ }
19594
+ var fontSize = parseFloat(computedStyle.getPropertyValue('font-size'));
19595
+ var value = Math.round(parsedValue / fontSize * 100) / 100;
19596
+ if (isNaN(value)) {
19597
+ return cssPropValue;
19598
+ }
19599
+ return value;
19600
+ }
19511
19601
  function isOnScreenEvaluate(node) {
19512
19602
  return is_visible_default(node, false) && !is_offscreen_default(node);
19513
19603
  }
@@ -19562,8 +19652,8 @@
19562
19652
  if (!virtualNode.children) {
19563
19653
  return void 0;
19564
19654
  }
19565
- var titleNode = virtualNode.children.find(function(_ref85) {
19566
- var props = _ref85.props;
19655
+ var titleNode = virtualNode.children.find(function(_ref86) {
19656
+ var props = _ref86.props;
19567
19657
  return props.nodeName === 'title';
19568
19658
  });
19569
19659
  if (!titleNode) {
@@ -20025,6 +20115,9 @@
20025
20115
  return inserted_into_focus_order_default(node);
20026
20116
  }
20027
20117
  var inserted_into_focus_order_matches_default = insertedIntoFocusOrderMatches;
20118
+ function hasVisibleTextMatches(node) {
20119
+ return is_visible_default(node, false);
20120
+ }
20028
20121
  function labelContentNameMismatchMatches(node, virtualNode) {
20029
20122
  var role = get_role_default(node);
20030
20123
  if (!role) {
@@ -20138,7 +20231,7 @@
20138
20231
  if (!role || [ 'none', 'presentation' ].includes(role)) {
20139
20232
  return true;
20140
20233
  }
20141
- var _ref86 = aria_roles_default[role] || {}, accessibleNameRequired = _ref86.accessibleNameRequired;
20234
+ var _ref87 = aria_roles_default[role] || {}, accessibleNameRequired = _ref87.accessibleNameRequired;
20142
20235
  if (accessibleNameRequired || _isFocusable(virtualNode)) {
20143
20236
  return true;
20144
20237
  }
@@ -20243,6 +20336,7 @@
20243
20336
  'aria-allowed-attr-matches': aria_allowed_attr_matches_default,
20244
20337
  'aria-allowed-role-evaluate': aria_allowed_role_evaluate_default,
20245
20338
  'aria-allowed-role-matches': aria_allowed_role_matches_default,
20339
+ 'aria-busy-evaluate': ariaBusyEvaluate,
20246
20340
  'aria-errormessage-evaluate': aria_errormessage_evaluate_default,
20247
20341
  'aria-has-attr-matches': aria_has_attr_matches_default,
20248
20342
  'aria-hidden-body-evaluate': aria_hidden_body_evaluate_default,
@@ -20316,12 +20410,14 @@
20316
20410
  'identical-links-same-purpose-evaluate': identical_links_same_purpose_evaluate_default,
20317
20411
  'identical-links-same-purpose-matches': identical_links_same_purpose_matches_default,
20318
20412
  'implicit-evaluate': implicit_evaluate_default,
20413
+ 'inline-style-property-evaluate': inlineStyleProperty,
20319
20414
  'inserted-into-focus-order-matches': inserted_into_focus_order_matches_default,
20320
20415
  'internal-link-present-evaluate': internal_link_present_evaluate_default,
20321
20416
  'invalidrole-evaluate': invalidrole_evaluate_default,
20322
20417
  'is-element-focusable-evaluate': is_element_focusable_evaluate_default,
20323
20418
  'is-initiator-matches': is_initiator_matches_default,
20324
20419
  'is-on-screen-evaluate': is_on_screen_evaluate_default,
20420
+ 'is-visible-matches': hasVisibleTextMatches,
20325
20421
  'label-content-name-mismatch-evaluate': label_content_name_mismatch_evaluate_default,
20326
20422
  'label-content-name-mismatch-matches': label_content_name_mismatch_matches_default,
20327
20423
  'label-matches': label_matches_default,
@@ -21073,10 +21169,10 @@
21073
21169
  value: function setAllowedOrigins(allowedOrigins) {
21074
21170
  var defaultOrigin = getDefaultOrigin();
21075
21171
  this.allowedOrigins = [];
21076
- var _iterator3 = _createForOfIteratorHelper(allowedOrigins), _step3;
21172
+ var _iterator4 = _createForOfIteratorHelper(allowedOrigins), _step4;
21077
21173
  try {
21078
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) {
21079
- var origin = _step3.value;
21174
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done; ) {
21175
+ var origin = _step4.value;
21080
21176
  if (origin === constants_default.allOrigins) {
21081
21177
  this.allowedOrigins = [ '*' ];
21082
21178
  return;
@@ -21087,9 +21183,9 @@
21087
21183
  }
21088
21184
  }
21089
21185
  } catch (err) {
21090
- _iterator3.e(err);
21186
+ _iterator4.e(err);
21091
21187
  } finally {
21092
- _iterator3.f();
21188
+ _iterator4.f();
21093
21189
  }
21094
21190
  }
21095
21191
  }, {
@@ -21390,8 +21486,8 @@
21390
21486
  });
21391
21487
  };
21392
21488
  }
21393
- function getHelpUrl(_ref87, ruleId, version) {
21394
- var brand = _ref87.brand, application = _ref87.application, lang = _ref87.lang;
21489
+ function getHelpUrl(_ref88, ruleId, version) {
21490
+ var brand = _ref88.brand, application = _ref88.application, lang = _ref88.lang;
21395
21491
  return constants_default.helpUrlBase + brand + '/' + (version || axe.version.substring(0, axe.version.lastIndexOf('.'))) + '/' + ruleId + '?application=' + encodeURIComponent(application) + (lang && lang !== 'en' ? '&lang=' + encodeURIComponent(lang) : '');
21396
21492
  }
21397
21493
  var audit_default = Audit;
@@ -21806,9 +21902,9 @@
21806
21902
  });
21807
21903
  }
21808
21904
  var run_virtual_rule_default = runVirtualRule;
21809
- function normalizeRunParams(_ref88) {
21810
- var _ref90, _options$reporter, _axe$_audit;
21811
- var _ref89 = _slicedToArray(_ref88, 3), context = _ref89[0], options = _ref89[1], callback = _ref89[2];
21905
+ function normalizeRunParams(_ref89) {
21906
+ var _ref91, _options$reporter, _axe$_audit;
21907
+ var _ref90 = _slicedToArray(_ref89, 3), context = _ref90[0], options = _ref90[1], callback = _ref90[2];
21812
21908
  var typeErr = new TypeError('axe.run arguments are invalid');
21813
21909
  if (!isContext(context)) {
21814
21910
  if (callback !== void 0) {
@@ -21829,7 +21925,7 @@
21829
21925
  throw typeErr;
21830
21926
  }
21831
21927
  options = clone_default(options);
21832
- options.reporter = (_ref90 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit = axe._audit) === null || _axe$_audit === void 0 ? void 0 : _axe$_audit.reporter) !== null && _ref90 !== void 0 ? _ref90 : 'v1';
21928
+ options.reporter = (_ref91 = (_options$reporter = options.reporter) !== null && _options$reporter !== void 0 ? _options$reporter : (_axe$_audit = axe._audit) === null || _axe$_audit === void 0 ? void 0 : _axe$_audit.reporter) !== null && _ref91 !== void 0 ? _ref91 : 'v1';
21833
21929
  return {
21834
21930
  context: context,
21835
21931
  options: options,
@@ -21954,14 +22050,14 @@
21954
22050
  return new Promise(function(res, rej) {
21955
22051
  axe._audit.run(contextObj, options, res, rej);
21956
22052
  }).then(function(results) {
21957
- results = results.map(function(_ref91) {
21958
- var nodes = _ref91.nodes, result = _objectWithoutProperties(_ref91, _excluded8);
22053
+ results = results.map(function(_ref92) {
22054
+ var nodes = _ref92.nodes, result = _objectWithoutProperties(_ref92, _excluded8);
21959
22055
  return _extends({
21960
22056
  nodes: nodes.map(serializeNode)
21961
22057
  }, result);
21962
22058
  });
21963
- var frames = contextObj.frames.map(function(_ref92) {
21964
- var node = _ref92.node;
22059
+ var frames = contextObj.frames.map(function(_ref93) {
22060
+ var node = _ref93.node;
21965
22061
  return new dq_element_default(node, options).toJSON();
21966
22062
  });
21967
22063
  var environmentData;
@@ -21981,13 +22077,13 @@
21981
22077
  return Promise.reject(err2);
21982
22078
  });
21983
22079
  }
21984
- function serializeNode(_ref93) {
21985
- var node = _ref93.node, nodeResult = _objectWithoutProperties(_ref93, _excluded9);
22080
+ function serializeNode(_ref94) {
22081
+ var node = _ref94.node, nodeResult = _objectWithoutProperties(_ref94, _excluded9);
21986
22082
  nodeResult.node = node.toJSON();
21987
22083
  for (var _i32 = 0, _arr2 = [ 'any', 'all', 'none' ]; _i32 < _arr2.length; _i32++) {
21988
22084
  var type = _arr2[_i32];
21989
- nodeResult[type] = nodeResult[type].map(function(_ref94) {
21990
- var relatedNodes = _ref94.relatedNodes, checkResult = _objectWithoutProperties(_ref94, _excluded10);
22085
+ nodeResult[type] = nodeResult[type].map(function(_ref95) {
22086
+ var relatedNodes = _ref95.relatedNodes, checkResult = _objectWithoutProperties(_ref95, _excluded10);
21991
22087
  return _extends({}, checkResult, {
21992
22088
  relatedNodes: relatedNodes.map(function(node2) {
21993
22089
  return node2.toJSON();
@@ -21998,14 +22094,14 @@
21998
22094
  return nodeResult;
21999
22095
  }
22000
22096
  function finishRun(partialResults) {
22001
- var _ref96, _options$reporter2, _axe$_audit2;
22097
+ var _ref97, _options$reporter2, _axe$_audit2;
22002
22098
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
22003
22099
  options = clone_default(options);
22004
- var _ref95 = partialResults.find(function(r) {
22100
+ var _ref96 = partialResults.find(function(r) {
22005
22101
  return r.environmentData;
22006
- }) || {}, environmentData = _ref95.environmentData;
22102
+ }) || {}, environmentData = _ref96.environmentData;
22007
22103
  axe._audit.normalizeOptions(options);
22008
- options.reporter = (_ref96 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref96 !== void 0 ? _ref96 : 'v1';
22104
+ options.reporter = (_ref97 = (_options$reporter2 = options.reporter) !== null && _options$reporter2 !== void 0 ? _options$reporter2 : (_axe$_audit2 = axe._audit) === null || _axe$_audit2 === void 0 ? void 0 : _axe$_audit2.reporter) !== null && _ref97 !== void 0 ? _ref97 : 'v1';
22009
22105
  setFrameSpec(partialResults);
22010
22106
  var results = merge_results_default(partialResults);
22011
22107
  results = axe._audit.after(results, options);
@@ -22017,10 +22113,10 @@
22017
22113
  }
22018
22114
  function setFrameSpec(partialResults) {
22019
22115
  var frameStack = [];
22020
- var _iterator4 = _createForOfIteratorHelper(partialResults), _step4;
22116
+ var _iterator5 = _createForOfIteratorHelper(partialResults), _step5;
22021
22117
  try {
22022
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done; ) {
22023
- var partialResult = _step4.value;
22118
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done; ) {
22119
+ var partialResult = _step5.value;
22024
22120
  var frameSpec = frameStack.shift();
22025
22121
  if (!partialResult) {
22026
22122
  continue;
@@ -22030,13 +22126,13 @@
22030
22126
  frameStack.unshift.apply(frameStack, _toConsumableArray(frameSpecs));
22031
22127
  }
22032
22128
  } catch (err) {
22033
- _iterator4.e(err);
22129
+ _iterator5.e(err);
22034
22130
  } finally {
22035
- _iterator4.f();
22131
+ _iterator5.f();
22036
22132
  }
22037
22133
  }
22038
- function getMergedFrameSpecs(_ref97) {
22039
- var childFrameSpecs = _ref97.frames, parentFrameSpec = _ref97.frameSpec;
22134
+ function getMergedFrameSpecs(_ref98) {
22135
+ var childFrameSpecs = _ref98.frames, parentFrameSpec = _ref98.frameSpec;
22040
22136
  if (!parentFrameSpec) {
22041
22137
  return childFrameSpecs;
22042
22138
  }
@@ -22099,9 +22195,9 @@
22099
22195
  for (var _i33 = 0, _types = types; _i33 < _types.length; _i33++) {
22100
22196
  var type = _types[_i33];
22101
22197
  if (transformedResult[type] && Array.isArray(transformedResult[type])) {
22102
- transformedResult[type] = transformedResult[type].map(function(_ref98) {
22198
+ transformedResult[type] = transformedResult[type].map(function(_ref99) {
22103
22199
  var _node;
22104
- var node = _ref98.node, typeResult = _objectWithoutProperties(_ref98, _excluded13);
22200
+ var node = _ref99.node, typeResult = _objectWithoutProperties(_ref99, _excluded13);
22105
22201
  node = typeof ((_node = node) === null || _node === void 0 ? void 0 : _node.toJSON) === 'function' ? node.toJSON() : node;
22106
22202
  return _extends({
22107
22203
  node: node
@@ -22645,6 +22741,13 @@
22645
22741
  }
22646
22742
  }
22647
22743
  },
22744
+ 'aria-busy': {
22745
+ impact: 'serious',
22746
+ messages: {
22747
+ pass: 'Element has an aria-busy attribute',
22748
+ fail: 'Element has no aria-busy="true" attribute'
22749
+ }
22750
+ },
22648
22751
  'aria-errormessage': {
22649
22752
  impact: 'critical',
22650
22753
  messages: {
@@ -23388,6 +23491,27 @@
23388
23491
  incomplete: 'Unable to determine if element has children'
23389
23492
  }
23390
23493
  },
23494
+ 'important-letter-spacing': {
23495
+ impact: 'serious',
23496
+ messages: {
23497
+ pass: 'Letter-spacing in the style attribute is not set to !important, or meets the minimum',
23498
+ fail: 'letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)'
23499
+ }
23500
+ },
23501
+ 'important-line-height': {
23502
+ impact: 'serious',
23503
+ messages: {
23504
+ pass: 'line-height in the style attribute is not set to !important, or meets the minimum',
23505
+ fail: 'line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)'
23506
+ }
23507
+ },
23508
+ 'important-word-spacing': {
23509
+ impact: 'serious',
23510
+ messages: {
23511
+ pass: 'word-spacing in the style attribute is not set to !important, or meets the minimum',
23512
+ fail: 'word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)'
23513
+ }
23514
+ },
23391
23515
  'is-on-screen': {
23392
23516
  impact: 'serious',
23393
23517
  messages: {
@@ -23740,7 +23864,7 @@
23740
23864
  reviewEmpty: [ 'doc-bibliography', 'doc-endnotes', 'grid', 'list', 'listbox', 'table', 'tablist', 'tree', 'treegrid', 'rowgroup' ]
23741
23865
  },
23742
23866
  id: 'aria-required-children'
23743
- } ],
23867
+ }, 'aria-busy' ],
23744
23868
  none: []
23745
23869
  }, {
23746
23870
  id: 'aria-required-parent',
@@ -23872,13 +23996,29 @@
23872
23996
  }, {
23873
23997
  id: 'avoid-inline-spacing',
23874
23998
  selector: '[style]',
23999
+ matches: 'is-visible-matches',
23875
24000
  tags: [ 'cat.structure', 'wcag21aa', 'wcag1412', 'ACT' ],
23876
24001
  actIds: [ '24afc2', '9e45ec', '78fd32' ],
23877
24002
  all: [ {
23878
24003
  options: {
23879
- cssProperties: [ 'line-height', 'letter-spacing', 'word-spacing' ]
24004
+ cssProperty: 'letter-spacing',
24005
+ minValue: .12
23880
24006
  },
23881
- id: 'avoid-inline-spacing'
24007
+ id: 'important-letter-spacing'
24008
+ }, {
24009
+ options: {
24010
+ cssProperty: 'word-spacing',
24011
+ minValue: .16
24012
+ },
24013
+ id: 'important-word-spacing'
24014
+ }, {
24015
+ options: {
24016
+ multiLineOnly: true,
24017
+ cssProperty: 'line-height',
24018
+ minValue: 1.5,
24019
+ normalValue: 1
24020
+ },
24021
+ id: 'important-line-height'
23882
24022
  } ],
23883
24023
  any: [],
23884
24024
  none: []
@@ -24519,7 +24659,8 @@
24519
24659
  excludeHidden: false,
24520
24660
  selector: 'audio[autoplay], video[autoplay]',
24521
24661
  matches: 'no-autoplay-audio-matches',
24522
- tags: [ 'cat.time-and-media', 'wcag2a', 'wcag142', 'experimental', 'ACT' ],
24662
+ reviewOnFail: true,
24663
+ tags: [ 'cat.time-and-media', 'wcag2a', 'wcag142', 'ACT' ],
24523
24664
  actIds: [ '80f0bf' ],
24524
24665
  preload: true,
24525
24666
  all: [ {
@@ -24765,6 +24906,9 @@
24765
24906
  allowImplicit: true,
24766
24907
  ignoredTags: []
24767
24908
  }
24909
+ }, {
24910
+ id: 'aria-busy',
24911
+ evaluate: 'aria-busy-evaluate'
24768
24912
  }, {
24769
24913
  id: 'aria-errormessage',
24770
24914
  evaluate: 'aria-errormessage-evaluate'
@@ -25185,6 +25329,29 @@
25185
25329
  }, {
25186
25330
  id: 'has-visible-text',
25187
25331
  evaluate: 'has-text-content-evaluate'
25332
+ }, {
25333
+ id: 'important-letter-spacing',
25334
+ evaluate: 'inline-style-property-evaluate',
25335
+ options: {
25336
+ cssProperty: 'letter-spacing',
25337
+ minValue: .12
25338
+ }
25339
+ }, {
25340
+ id: 'important-line-height',
25341
+ evaluate: 'inline-style-property-evaluate',
25342
+ options: {
25343
+ multiLineOnly: true,
25344
+ cssProperty: 'line-height',
25345
+ minValue: 1.5,
25346
+ normalValue: 1
25347
+ }
25348
+ }, {
25349
+ id: 'important-word-spacing',
25350
+ evaluate: 'inline-style-property-evaluate',
25351
+ options: {
25352
+ cssProperty: 'word-spacing',
25353
+ minValue: .16
25354
+ }
25188
25355
  }, {
25189
25356
  id: 'is-on-screen',
25190
25357
  evaluate: 'is-on-screen-evaluate'