axe-core 4.4.0 → 4.4.1

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.d.ts CHANGED
@@ -54,6 +54,11 @@ declare namespace axe {
54
54
  exclude?: Node | BaseSelector | Array<Node | BaseSelector | BaseSelector[]>;
55
55
  };
56
56
 
57
+ type SerialContextObject = {
58
+ include?: BaseSelector | Array<BaseSelector | BaseSelector[]>;
59
+ exclude?: BaseSelector | Array<BaseSelector | BaseSelector[]>;
60
+ };
61
+
57
62
  type RunCallback = (error: Error, results: AxeResults) => void;
58
63
 
59
64
  type ElementContext = Node | NodeList | string | ContextObject;
@@ -267,7 +272,7 @@ declare namespace axe {
267
272
  type PartialResults = Array<PartialResult | null>;
268
273
  interface FrameContext {
269
274
  frameSelector: CrossTreeSelector;
270
- frameContext: ContextObject;
275
+ frameContext: SerialContextObject;
271
276
  }
272
277
  interface Utils {
273
278
  getFrameContexts: (
package/axe.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! axe v4.4.0
1
+ /*! axe v4.4.1
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.0';
25
+ axe.version = '4.4.1';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -9087,13 +9087,13 @@
9087
9087
  'doc-endnote': {
9088
9088
  type: 'listitem',
9089
9089
  allowedAttrs: [ 'aria-expanded', 'aria-level', 'aria-posinset', 'aria-setsize' ],
9090
- superclassRole: [ 'listitem' ]
9090
+ superclassRole: [ 'listitem' ],
9091
+ deprecated: true
9091
9092
  },
9092
9093
  'doc-endnotes': {
9093
9094
  type: 'landmark',
9094
9095
  allowedAttrs: [ 'aria-expanded' ],
9095
- superclassRole: [ 'landmark' ],
9096
- deprecated: true
9096
+ superclassRole: [ 'landmark' ]
9097
9097
  },
9098
9098
  'doc-epigraph': {
9099
9099
  type: 'section',