axe-core 4.10.3-canary.1de72e3 → 4.10.3-canary.1e78a9a

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.10.3-canary.1de72e3
1
+ /*! axe v4.10.3-canary.1e78a9a
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.10.3-canary.1de72e3';
25
+ axe.version = '4.10.3-canary.1e78a9a';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -26631,7 +26631,8 @@
26631
26631
  var elementsAllowedAriaLabel = (options === null || options === void 0 ? void 0 : options.elementsAllowedAriaLabel) || [];
26632
26632
  var nodeName2 = virtualNode.props.nodeName;
26633
26633
  var role = get_role_default(virtualNode, {
26634
- chromium: true
26634
+ chromium: true,
26635
+ fallback: true
26635
26636
  });
26636
26637
  var prohibitedList = listProhibitedAttrs(virtualNode, role, nodeName2, elementsAllowedAriaLabel);
26637
26638
  var prohibited = prohibitedList.filter(function(attrName) {
@@ -26643,7 +26644,7 @@
26643
26644
  if (prohibited.length === 0) {
26644
26645
  return false;
26645
26646
  }
26646
- var messageKey = virtualNode.hasAttr('role') ? 'hasRole' : 'noRole';
26647
+ var messageKey = role !== null ? 'hasRole' : 'noRole';
26647
26648
  messageKey += prohibited.length > 1 ? 'Plural' : 'Singular';
26648
26649
  this.data({
26649
26650
  role: role,