axe-core 4.14.0-canary.cfd2ea6 → 4.14.0-canary.f01bf5c

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.
Files changed (3) hide show
  1. package/axe.js +119 -103
  2. package/axe.min.js +1 -1
  3. package/package.json +1 -1
package/axe.js CHANGED
@@ -16085,9 +16085,14 @@
16085
16085
  function assetNotGlobalWindow(win) {
16086
16086
  assert_default(window !== win, 'Messages can not be sent to the same window.');
16087
16087
  }
16088
- var channels = {};
16088
+ var getChannels = function getChannels() {
16089
+ return cache_default.get('frameMessengerChannels', function() {
16090
+ return {};
16091
+ });
16092
+ };
16089
16093
  function storeReplyHandler(channelId, replyHandler) {
16090
16094
  var sendToParent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
16095
+ var channels = getChannels();
16091
16096
  assert_default(!Object.prototype.hasOwnProperty.call(channels, channelId), 'A replyHandler already exists for this message channel.');
16092
16097
  channels[channelId] = {
16093
16098
  replyHandler: replyHandler,
@@ -16095,10 +16100,11 @@
16095
16100
  };
16096
16101
  }
16097
16102
  function getReplyHandler(channelId) {
16103
+ var channels = getChannels();
16098
16104
  return Object.prototype.hasOwnProperty.call(channels, channelId) ? channels[channelId] : void 0;
16099
16105
  }
16100
16106
  function deleteReplyHandler(channelId) {
16101
- delete channels[channelId];
16107
+ delete getChannels()[channelId];
16102
16108
  }
16103
16109
  var messageIds = [];
16104
16110
  function createMessageId() {
@@ -20622,7 +20628,7 @@
20622
20628
  return 'col';
20623
20629
  } else if (role === 'rowheader') {
20624
20630
  return 'row';
20625
- } else if (scope === 'col' || scope === 'row') {
20631
+ } else if ([ 'col', 'row', 'colgroup', 'rowgroup' ].includes(scope)) {
20626
20632
  return scope;
20627
20633
  } else if (vNode.props.nodeName !== 'th') {
20628
20634
  return false;
@@ -20648,11 +20654,11 @@
20648
20654
  return 'auto';
20649
20655
  }
20650
20656
  function isColumnHeader(element) {
20651
- return [ 'col', 'auto' ].indexOf(_getScope(element)) !== -1;
20657
+ return [ 'col', 'colgroup', 'auto' ].indexOf(_getScope(element)) !== -1;
20652
20658
  }
20653
20659
  var is_column_header_default = isColumnHeader;
20654
20660
  function isRowHeader(cell) {
20655
- return [ 'row', 'auto' ].includes(_getScope(cell));
20661
+ return [ 'row', 'rowgroup', 'auto' ].includes(_getScope(cell));
20656
20662
  }
20657
20663
  var is_row_header_default = isRowHeader;
20658
20664
  function sanitize(str) {
@@ -22199,7 +22205,7 @@
22199
22205
  inBrBlock = 2;
22200
22206
  }
22201
22207
  }
22202
- if (nodeIsBlock || currNode.style.display === 'none' || currNode.style.overflow === 'hidden' || ![ '', null, 'none' ].includes(currNode.style['float']) || ![ '', null, 'relative' ].includes(currNode.style.position)) {
22208
+ if (nodeIsBlock || !_isVisibleOnScreen(currNode)) {
22203
22209
  return false;
22204
22210
  } else if (get_role_type_default(currNode) === 'widget') {
22205
22211
  widgetText += currNode.textContent;
@@ -22464,23 +22470,24 @@
22464
22470
  }, {
22465
22471
  key: 'parseString',
22466
22472
  value: function parseString(colorString) {
22467
- var _color$alpha2;
22468
22473
  var parsedColors = cache_default.get('parsedColors', function() {
22469
- return {};
22474
+ return new Map();
22470
22475
  });
22471
- var color = parsedColors[colorString];
22472
- if (!color) {
22476
+ var channels = parsedColors.get(colorString);
22477
+ if (!channels) {
22473
22478
  var cacheKey2 = colorString;
22474
22479
  try {
22480
+ var _color3$alpha;
22475
22481
  var prototypeArrayFrom;
22476
22482
  if ('Prototype' in window && 'Version' in window.Prototype) {
22477
22483
  prototypeArrayFrom = Array.from;
22478
22484
  Array.from = import_from2['default'];
22479
22485
  }
22480
- color = new src_default(colorString).toGamut({
22486
+ var _color3 = new src_default(colorString).toGamut({
22481
22487
  space: 'srgb',
22482
22488
  method: 'clip'
22483
22489
  }).to('srgb');
22490
+ channels = [ _color3.r, _color3.g, _color3.b, +((_color3$alpha = _color3.alpha) !== null && _color3$alpha !== void 0 ? _color3$alpha : 0) ];
22484
22491
  if (prototypeArrayFrom) {
22485
22492
  Array.from = prototypeArrayFrom;
22486
22493
  prototypeArrayFrom = null;
@@ -22489,12 +22496,14 @@
22489
22496
  incomplete_data_default.set('colorParse', colorString);
22490
22497
  throw new Error('Unable to parse color "'.concat(colorString, '"'));
22491
22498
  }
22492
- parsedColors[cacheKey2] = color;
22499
+ parsedColors.set(cacheKey2, channels);
22493
22500
  }
22494
- this.r = color.r;
22495
- this.g = color.g;
22496
- this.b = color.b;
22497
- this.alpha = +((_color$alpha2 = color.alpha) !== null && _color$alpha2 !== void 0 ? _color$alpha2 : 0);
22501
+ var _channels = channels;
22502
+ var _channels2 = _slicedToArray(_channels, 4);
22503
+ this.r = _channels2[0];
22504
+ this.g = _channels2[1];
22505
+ this.b = _channels2[2];
22506
+ this.alpha = _channels2[3];
22498
22507
  return this;
22499
22508
  }
22500
22509
  }, {
@@ -25380,7 +25389,7 @@
25380
25389
  }
25381
25390
  function _loadElementInternals() {
25382
25391
  _loadElementInternals = _asyncToGenerator(_regenerator().m(function _callee2() {
25383
- var logger2, promiseValue, internalsMap, _i47, _internalsMap$_i, internals, ancestry, node, vNode, _i48, _Object$entries2, _Object$entries2$_i, _key14, val, type2, value, _args2 = arguments;
25392
+ var logger2, promiseValue, internalsMap, _i47, _internalsMap$_i, internals, ancestry, node, vNode, _i48, _Object$entries2, _Object$entries2$_i, _key15, val, type2, value, _args2 = arguments;
25384
25393
  return _regenerator().w(function(_context3) {
25385
25394
  while (1) {
25386
25395
  switch (_context3.n) {
@@ -25458,7 +25467,7 @@
25458
25467
  _context3.n = 12;
25459
25468
  break;
25460
25469
  }
25461
- _Object$entries2$_i = _slicedToArray(_Object$entries2[_i48], 2), _key14 = _Object$entries2$_i[0],
25470
+ _Object$entries2$_i = _slicedToArray(_Object$entries2[_i48], 2), _key15 = _Object$entries2$_i[0],
25462
25471
  val = _Object$entries2$_i[1];
25463
25472
  if (!(typeof val === 'string')) {
25464
25473
  _context3.n = 10;
@@ -25469,15 +25478,15 @@
25469
25478
  case 10:
25470
25479
  type2 = val.type, value = val.value;
25471
25480
  if (!type2) {
25472
- logger2('externalAPIs.getElementInternals()['.concat(_i47, '].internals.').concat(_key14, ' is an object but has no "type" property'));
25481
+ logger2('externalAPIs.getElementInternals()['.concat(_i47, '].internals.').concat(_key15, ' is an object but has no "type" property'));
25473
25482
  }
25474
25483
  if (!value) {
25475
- logger2('externalAPIs.getElementInternals()['.concat(_i47, '].internals.').concat(_key14, ' is an object but has no "value" property'));
25484
+ logger2('externalAPIs.getElementInternals()['.concat(_i47, '].internals.').concat(_key15, ' is an object but has no "value" property'));
25476
25485
  }
25477
25486
  if (type2 === 'HTMLElement') {
25478
- setHTMLElement(internals, _key14, value);
25487
+ setHTMLElement(internals, _key15, value);
25479
25488
  } else if (type2 === 'NodeList') {
25480
- setNodeList(internals, _key14, value);
25489
+ setNodeList(internals, _key15, value);
25481
25490
  }
25482
25491
 
25483
25492
  case 11:
@@ -29295,14 +29304,14 @@
29295
29304
  shadowColors.push.apply(shadowColors, _toConsumableArray(_strokeColors));
29296
29305
  thinShadows.splice(0, thinShadows.length);
29297
29306
  }
29298
- var _color3 = textShadowColor({
29307
+ var _color4 = textShadowColor({
29299
29308
  colorStr: colorStr,
29300
29309
  offsetX: offsetX,
29301
29310
  offsetY: offsetY,
29302
29311
  blurRadius: blurRadius,
29303
29312
  fontSize: fontSize
29304
29313
  });
29305
- shadowColors.push(_color3);
29314
+ shadowColors.push(_color4);
29306
29315
  }
29307
29316
  } catch (err) {
29308
29317
  _iterator26.e(err);
@@ -29578,12 +29587,12 @@
29578
29587
  try {
29579
29588
  for (var _i33 = 0, _colorStack = colorStack; _i33 < _colorStack.length; _i33++) {
29580
29589
  var colorFn = _colorStack[_i33];
29581
- var _color4 = colorFn();
29582
- if (!_color4) {
29590
+ var _color5 = colorFn();
29591
+ if (!_color5) {
29583
29592
  continue;
29584
29593
  }
29585
- fgColors = fgColors.concat(_color4);
29586
- if (_color4.alpha === 1) {
29594
+ fgColors = fgColors.concat(_color5);
29595
+ if (_color5.alpha === 1) {
29587
29596
  break;
29588
29597
  }
29589
29598
  }
@@ -30178,51 +30187,58 @@
30178
30187
  function roundToSingleDecimal(num) {
30179
30188
  return Math.round(num * 10) / 10;
30180
30189
  }
30190
+ var USER_SCALABLE_ALLOWED = [ 'yes', 'device-width', 'device-height' ];
30191
+ var MAXIMUM_SCALE_ALLOWED = [ 'device-width', 'device-height' ];
30181
30192
  function metaViewportScaleEvaluate(node, options, virtualNode) {
30182
30193
  var _ref149 = options || {}, _ref149$scaleMinimum = _ref149.scaleMinimum, scaleMinimum = _ref149$scaleMinimum === void 0 ? 2 : _ref149$scaleMinimum, _ref149$lowerBound = _ref149.lowerBound, lowerBound = _ref149$lowerBound === void 0 ? false : _ref149$lowerBound;
30183
30194
  var content = virtualNode.attr('content') || '';
30184
30195
  if (!content) {
30185
30196
  return true;
30186
30197
  }
30187
- var result = content.split(/[;,]/).reduce(function(out, item) {
30188
- var contentValue = item.trim();
30189
- if (!contentValue) {
30190
- return out;
30191
- }
30192
- var _contentValue$split = contentValue.split('='), _contentValue$split2 = _slicedToArray(_contentValue$split, 2), key = _contentValue$split2[0], value = _contentValue$split2[1];
30193
- if (!key || !value) {
30194
- return out;
30195
- }
30196
- var curatedKey = key.toLowerCase().trim();
30197
- var curatedValue = value.toLowerCase().trim();
30198
- if (curatedKey === 'maximum-scale' && curatedValue === 'yes') {
30199
- curatedValue = 1;
30200
- }
30201
- if (curatedKey === 'maximum-scale' && parseFloat(curatedValue) < 0) {
30202
- return out;
30198
+ var items = content.toLowerCase().split(/[;,]/);
30199
+ var _iterator30 = _createForOfIteratorHelper(items), _step30;
30200
+ try {
30201
+ for (_iterator30.s(); !(_step30 = _iterator30.n()).done; ) {
30202
+ var item = _step30.value;
30203
+ var _item$split$map = item.split('=').map(function(part) {
30204
+ return part.trim();
30205
+ }), _item$split$map2 = _slicedToArray(_item$split$map, 2), _key11 = _item$split$map2[0], value = _item$split$map2[1];
30206
+ if (!_key11 || !value) {
30207
+ continue;
30208
+ }
30209
+ var floatValue = parseFloat(value);
30210
+ if (_key11 === 'user-scalable') {
30211
+ if (lowerBound) {
30212
+ continue;
30213
+ }
30214
+ var invalidString = isNaN(floatValue) && !USER_SCALABLE_ALLOWED.includes(value);
30215
+ var invalidNumber = floatValue > -1 && floatValue < 1;
30216
+ if (invalidString || invalidNumber) {
30217
+ this.data('user-scalable='.concat(value));
30218
+ return false;
30219
+ }
30220
+ }
30221
+ if (_key11 === 'maximum-scale') {
30222
+ if (floatValue < 0) {
30223
+ continue;
30224
+ }
30225
+ var _invalidString = isNaN(floatValue) && !MAXIMUM_SCALE_ALLOWED.includes(value);
30226
+ if (lowerBound && (_invalidString || floatValue < lowerBound)) {
30227
+ continue;
30228
+ }
30229
+ if (_invalidString || floatValue < scaleMinimum) {
30230
+ this.data('maximum-scale='.concat(value));
30231
+ return false;
30232
+ }
30233
+ }
30203
30234
  }
30204
- out[curatedKey] = curatedValue;
30205
- return out;
30206
- }, {});
30207
- if (lowerBound && result['maximum-scale'] && parseFloat(result['maximum-scale']) < lowerBound) {
30208
- return true;
30209
- }
30210
- if (!lowerBound && result['user-scalable'] === 'no') {
30211
- this.data('user-scalable=no');
30212
- return false;
30213
- }
30214
- var userScalableAsFloat = parseFloat(result['user-scalable']);
30215
- if (!lowerBound && result['user-scalable'] && (userScalableAsFloat || userScalableAsFloat === 0) && userScalableAsFloat > -1 && userScalableAsFloat < 1) {
30216
- this.data('user-scalable');
30217
- return false;
30218
- }
30219
- if (result['maximum-scale'] && parseFloat(result['maximum-scale']) < scaleMinimum) {
30220
- this.data('maximum-scale');
30221
- return false;
30235
+ } catch (err) {
30236
+ _iterator30.e(err);
30237
+ } finally {
30238
+ _iterator30.f();
30222
30239
  }
30223
30240
  return true;
30224
30241
  }
30225
- var meta_viewport_scale_evaluate_default = metaViewportScaleEvaluate;
30226
30242
  function cssOrientationLockEvaluate(node, options, virtualNode, context) {
30227
30243
  var _ref150 = context || {}, _ref150$cssom = _ref150.cssom, cssom = _ref150$cssom === void 0 ? void 0 : _ref150$cssom;
30228
30244
  var _ref151 = options || {}, _ref151$degreeThresho = _ref151.degreeThreshold, degreeThreshold = _ref151$degreeThresho === void 0 ? 0 : _ref151$degreeThresho;
@@ -30849,19 +30865,19 @@
30849
30865
  return text.split(/\s+/).filter(Boolean);
30850
30866
  }
30851
30867
  var words = [];
30852
- var _iterator30 = _createForOfIteratorHelper(WORD_SEGMENTER.segment(text)), _step30;
30868
+ var _iterator31 = _createForOfIteratorHelper(WORD_SEGMENTER.segment(text)), _step31;
30853
30869
  try {
30854
- for (_iterator30.s(); !(_step30 = _iterator30.n()).done; ) {
30855
- var segment = _step30.value.segment;
30870
+ for (_iterator31.s(); !(_step31 = _iterator31.n()).done; ) {
30871
+ var segment = _step31.value.segment;
30856
30872
  var trimmed = segment.trim();
30857
30873
  if (trimmed) {
30858
30874
  words.push(trimmed);
30859
30875
  }
30860
30876
  }
30861
30877
  } catch (err) {
30862
- _iterator30.e(err);
30878
+ _iterator31.e(err);
30863
30879
  } finally {
30864
- _iterator30.f();
30880
+ _iterator31.f();
30865
30881
  }
30866
30882
  return words;
30867
30883
  }
@@ -32581,18 +32597,18 @@
32581
32597
  if (Array.isArray(options[role])) {
32582
32598
  allowed = unique_array_default(options[role].concat(allowed));
32583
32599
  }
32584
- var _iterator31 = _createForOfIteratorHelper(virtualNode.attrNames), _step31;
32600
+ var _iterator32 = _createForOfIteratorHelper(virtualNode.attrNames), _step32;
32585
32601
  try {
32586
- for (_iterator31.s(); !(_step31 = _iterator31.n()).done; ) {
32587
- var _attrName = _step31.value;
32602
+ for (_iterator32.s(); !(_step32 = _iterator32.n()).done; ) {
32603
+ var _attrName = _step32.value;
32588
32604
  if (validate_attr_default(_attrName) && !allowed.includes(_attrName) && !ignoredAttrs(_attrName, virtualNode.attr(_attrName), virtualNode)) {
32589
32605
  invalid.push(_attrName);
32590
32606
  }
32591
32607
  }
32592
32608
  } catch (err) {
32593
- _iterator31.e(err);
32609
+ _iterator32.e(err);
32594
32610
  } finally {
32595
- _iterator31.f();
32611
+ _iterator32.f();
32596
32612
  }
32597
32613
  if (!invalid.length) {
32598
32614
  var caseSensitiveFailures = [];
@@ -32602,10 +32618,10 @@
32602
32618
  return values2;
32603
32619
  }, {});
32604
32620
  Object.assign(defaultValues, options.ariaFallbackValues || {});
32605
- var _iterator32 = _createForOfIteratorHelper(virtualNode.attrNames), _step32;
32621
+ var _iterator33 = _createForOfIteratorHelper(virtualNode.attrNames), _step33;
32606
32622
  try {
32607
- for (_iterator32.s(); !(_step32 = _iterator32.n()).done; ) {
32608
- var attrName = _step32.value;
32623
+ for (_iterator33.s(); !(_step33 = _iterator33.n()).done; ) {
32624
+ var attrName = _step33.value;
32609
32625
  if (!validate_attr_default(attrName)) {
32610
32626
  continue;
32611
32627
  }
@@ -32625,9 +32641,9 @@
32625
32641
  caseSensitiveFailures.push(values2);
32626
32642
  }
32627
32643
  } catch (err) {
32628
- _iterator32.e(err);
32644
+ _iterator33.e(err);
32629
32645
  } finally {
32630
- _iterator32.f();
32646
+ _iterator33.f();
32631
32647
  }
32632
32648
  if (caseSensitiveFailures.length) {
32633
32649
  this.data({
@@ -32680,18 +32696,18 @@
32680
32696
  var allowedAriaAttrs = elmSpec.allowedAriaAttrs;
32681
32697
  var globalAriaAttrs = get_global_aria_attrs_default();
32682
32698
  var invalid = [];
32683
- var _iterator33 = _createForOfIteratorHelper(virtualNode.attrNames), _step33;
32699
+ var _iterator34 = _createForOfIteratorHelper(virtualNode.attrNames), _step34;
32684
32700
  try {
32685
- for (_iterator33.s(); !(_step33 = _iterator33.n()).done; ) {
32686
- var attrName = _step33.value;
32701
+ for (_iterator34.s(); !(_step34 = _iterator34.n()).done; ) {
32702
+ var attrName = _step34.value;
32687
32703
  if (globalAriaAttrs.includes(attrName) && !allowedAriaAttrs.includes(attrName)) {
32688
32704
  invalid.push(attrName);
32689
32705
  }
32690
32706
  }
32691
32707
  } catch (err) {
32692
- _iterator33.e(err);
32708
+ _iterator34.e(err);
32693
32709
  } finally {
32694
- _iterator33.f();
32710
+ _iterator34.f();
32695
32711
  }
32696
32712
  if (!invalid.length) {
32697
32713
  return true;
@@ -33394,7 +33410,7 @@
33394
33410
  'listitem-evaluate': listitemEvaluate,
33395
33411
  'matches-definition-evaluate': matches_definition_evaluate_default,
33396
33412
  'meta-refresh-evaluate': metaRefreshEvaluate,
33397
- 'meta-viewport-scale-evaluate': meta_viewport_scale_evaluate_default,
33413
+ 'meta-viewport-scale-evaluate': metaViewportScaleEvaluate,
33398
33414
  'multiple-label-evaluate': multiple_label_evaluate_default,
33399
33415
  'nested-interactive-matches': nested_interactive_matches_default,
33400
33416
  'no-autoplay-audio-evaluate': no_autoplay_audio_evaluate_default,
@@ -34050,11 +34066,11 @@
34050
34066
  value: function _applyFailureSummaries(messages) {
34051
34067
  var keys = Object.keys(messages);
34052
34068
  for (var _i45 = 0; _i45 < keys.length; _i45++) {
34053
- var _key11 = keys[_i45];
34054
- if (!this.data.failureSummaries[_key11]) {
34055
- throw new Error('Locale provided for unknown failureMessage: "'.concat(_key11, '"'));
34069
+ var _key12 = keys[_i45];
34070
+ if (!this.data.failureSummaries[_key12]) {
34071
+ throw new Error('Locale provided for unknown failureMessage: "'.concat(_key12, '"'));
34056
34072
  }
34057
- this.data.failureSummaries[_key11] = mergeFailureMessage(this.data.failureSummaries[_key11], messages[_key11]);
34073
+ this.data.failureSummaries[_key12] = mergeFailureMessage(this.data.failureSummaries[_key12], messages[_key12]);
34058
34074
  }
34059
34075
  }
34060
34076
  }, {
@@ -34082,10 +34098,10 @@
34082
34098
  value: function setAllowedOrigins(allowedOrigins) {
34083
34099
  var defaultOrigin = getDefaultOrigin();
34084
34100
  this.allowedOrigins = [];
34085
- var _iterator34 = _createForOfIteratorHelper(allowedOrigins), _step34;
34101
+ var _iterator35 = _createForOfIteratorHelper(allowedOrigins), _step35;
34086
34102
  try {
34087
- for (_iterator34.s(); !(_step34 = _iterator34.n()).done; ) {
34088
- var origin = _step34.value;
34103
+ for (_iterator35.s(); !(_step35 = _iterator35.n()).done; ) {
34104
+ var origin = _step35.value;
34089
34105
  if (origin === constants_default.allOrigins) {
34090
34106
  this.allowedOrigins = [ '*' ];
34091
34107
  return;
@@ -34096,9 +34112,9 @@
34096
34112
  }
34097
34113
  }
34098
34114
  } catch (err) {
34099
- _iterator34.e(err);
34115
+ _iterator35.e(err);
34100
34116
  } finally {
34101
- _iterator34.f();
34117
+ _iterator35.f();
34102
34118
  }
34103
34119
  }
34104
34120
  }, {
@@ -34699,8 +34715,8 @@
34699
34715
  }
34700
34716
  var noop2 = function noop2() {};
34701
34717
  function run4() {
34702
- for (var _len9 = arguments.length, args = new Array(_len9), _key12 = 0; _key12 < _len9; _key12++) {
34703
- args[_key12] = arguments[_key12];
34718
+ for (var _len9 = arguments.length, args = new Array(_len9), _key13 = 0; _key13 < _len9; _key13++) {
34719
+ args[_key13] = arguments[_key13];
34704
34720
  }
34705
34721
  setupGlobals(args[0]);
34706
34722
  var _normalizeRunParams = normalizeRunParams(args), context = _normalizeRunParams.context, options = _normalizeRunParams.options, _normalizeRunParams$c = _normalizeRunParams.callback, callback = _normalizeRunParams$c === void 0 ? noop2 : _normalizeRunParams$c;
@@ -34796,8 +34812,8 @@
34796
34812
  throw err2;
34797
34813
  }
34798
34814
  function runPartial() {
34799
- for (var _len0 = arguments.length, args = new Array(_len0), _key13 = 0; _key13 < _len0; _key13++) {
34800
- args[_key13] = arguments[_key13];
34815
+ for (var _len0 = arguments.length, args = new Array(_len0), _key14 = 0; _key14 < _len0; _key14++) {
34816
+ args[_key14] = arguments[_key14];
34801
34817
  }
34802
34818
  var _normalizeRunParams2 = normalizeRunParams(args), options = _normalizeRunParams2.options, context = _normalizeRunParams2.context;
34803
34819
  assert_default(axe._audit, 'Axe is not configured. Audit is missing.');
@@ -34858,10 +34874,10 @@
34858
34874
  }
34859
34875
  function setFrameSpec(partialResults) {
34860
34876
  var frameStack = [];
34861
- var _iterator35 = _createForOfIteratorHelper(partialResults), _step35;
34877
+ var _iterator36 = _createForOfIteratorHelper(partialResults), _step36;
34862
34878
  try {
34863
- for (_iterator35.s(); !(_step35 = _iterator35.n()).done; ) {
34864
- var partialResult = _step35.value;
34879
+ for (_iterator36.s(); !(_step36 = _iterator36.n()).done; ) {
34880
+ var partialResult = _step36.value;
34865
34881
  var frameSpec = frameStack.shift();
34866
34882
  if (!partialResult) {
34867
34883
  continue;
@@ -34871,9 +34887,9 @@
34871
34887
  frameStack.unshift.apply(frameStack, _toConsumableArray(frameSpecs));
34872
34888
  }
34873
34889
  } catch (err) {
34874
- _iterator35.e(err);
34890
+ _iterator36.e(err);
34875
34891
  } finally {
34876
- _iterator35.f();
34892
+ _iterator36.f();
34877
34893
  }
34878
34894
  }
34879
34895
  function getMergedFrameSpecs(_ref180) {
@@ -37274,7 +37290,7 @@
37274
37290
  selector: 'th:not([role]), [role="rowheader"], [role="columnheader"]',
37275
37291
  tags: [ 'cat.name-role-value', 'best-practice' ],
37276
37292
  all: [],
37277
- any: [ 'has-visible-text' ],
37293
+ any: [ 'has-visible-text', 'presentational-role' ],
37278
37294
  none: []
37279
37295
  }, {
37280
37296
  id: 'focus-order-semantics',