axe-core 4.5.2-canary.5259e88 → 4.5.2-canary.563e4e9

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.5.2-canary.5259e88
1
+ /*! axe v4.5.2-canary.563e4e9
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.5.2-canary.5259e88';
25
+ axe.version = '4.5.2-canary.563e4e9';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -8826,7 +8826,8 @@
8826
8826
  },
8827
8827
  checkbox: {
8828
8828
  type: 'widget',
8829
- allowedAttrs: [ 'aria-checked', 'aria-readonly', 'aria-required' ],
8829
+ requiredAttrs: [ 'aria-checked' ],
8830
+ allowedAttrs: [ 'aria-readonly', 'aria-required' ],
8830
8831
  superclassRole: [ 'input' ],
8831
8832
  accessibleNameRequired: true,
8832
8833
  nameFromContent: true,
@@ -8980,7 +8981,7 @@
8980
8981
  },
8981
8982
  list: {
8982
8983
  type: 'structure',
8983
- requiredOwned: [ 'group', 'listitem' ],
8984
+ requiredOwned: [ 'listitem' ],
8984
8985
  allowedAttrs: [ 'aria-expanded' ],
8985
8986
  superclassRole: [ 'section' ]
8986
8987
  },
@@ -8993,7 +8994,7 @@
8993
8994
  },
8994
8995
  listitem: {
8995
8996
  type: 'structure',
8996
- requiredContext: [ 'list', 'group' ],
8997
+ requiredContext: [ 'list' ],
8997
8998
  allowedAttrs: [ 'aria-level', 'aria-posinset', 'aria-setsize', 'aria-expanded' ],
8998
8999
  superclassRole: [ 'section' ],
8999
9000
  nameFromContent: true
@@ -9042,7 +9043,8 @@
9042
9043
  menuitemcheckbox: {
9043
9044
  type: 'widget',
9044
9045
  requiredContext: [ 'menu', 'menubar', 'group' ],
9045
- allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
9046
+ requiredAttrs: [ 'aria-checked' ],
9047
+ allowedAttrs: [ 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
9046
9048
  superclassRole: [ 'checkbox', 'menuitem' ],
9047
9049
  accessibleNameRequired: true,
9048
9050
  nameFromContent: true,
@@ -9051,7 +9053,8 @@
9051
9053
  menuitemradio: {
9052
9054
  type: 'widget',
9053
9055
  requiredContext: [ 'menu', 'menubar', 'group' ],
9054
- allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
9056
+ requiredAttrs: [ 'aria-checked' ],
9057
+ allowedAttrs: [ 'aria-posinset', 'aria-readonly', 'aria-setsize' ],
9055
9058
  superclassRole: [ 'menuitemcheckbox', 'radio' ],
9056
9059
  accessibleNameRequired: true,
9057
9060
  nameFromContent: true,
@@ -9113,7 +9116,8 @@
9113
9116
  },
9114
9117
  radio: {
9115
9118
  type: 'widget',
9116
- allowedAttrs: [ 'aria-checked', 'aria-posinset', 'aria-setsize', 'aria-required' ],
9119
+ requiredAttrs: [ 'aria-checked' ],
9120
+ allowedAttrs: [ 'aria-posinset', 'aria-setsize', 'aria-required' ],
9117
9121
  superclassRole: [ 'input' ],
9118
9122
  accessibleNameRequired: true,
9119
9123
  nameFromContent: true,