@webability/core 1.3.0 → 1.3.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/dist/dom.cjs +13 -13
- package/dist/dom.d.cts +12 -1
- package/dist/dom.d.ts +12 -1
- package/dist/dom.js +13 -13
- package/dist/index.cjs +15 -15
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +15 -15
- package/package.json +2 -2
package/dist/dom.d.cts
CHANGED
|
@@ -22,8 +22,19 @@ interface DomScanOptions {
|
|
|
22
22
|
includeAxe?: boolean;
|
|
23
23
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|
|
24
24
|
wcagTags?: string[];
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
27
|
+
* code executes in the realm this module was loaded into, so a cross-realm
|
|
28
|
+
* window (an iframe's contentWindow) is not supported — load the bundle
|
|
29
|
+
* inside that frame instead.
|
|
30
|
+
*/
|
|
26
31
|
window?: Window & typeof globalThis;
|
|
32
|
+
/**
|
|
33
|
+
* Run the focus-mutating checks (focus visibility/obscured). Default FALSE
|
|
34
|
+
* in DOM mode: they steal focus and scroll the page the user is looking
|
|
35
|
+
* at. Opt in for detached/offscreen documents only.
|
|
36
|
+
*/
|
|
37
|
+
interactiveChecks?: boolean;
|
|
27
38
|
}
|
|
28
39
|
/**
|
|
29
40
|
* Adapts a live Window into the PageLike the engine orchestration expects.
|
package/dist/dom.d.ts
CHANGED
|
@@ -22,8 +22,19 @@ interface DomScanOptions {
|
|
|
22
22
|
includeAxe?: boolean;
|
|
23
23
|
/** axe tag filter. Default WCAG 2.x A/AA. */
|
|
24
24
|
wcagTags?: string[];
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Window to scan. Default the ambient `window`. SAME-REALM only: detector
|
|
27
|
+
* code executes in the realm this module was loaded into, so a cross-realm
|
|
28
|
+
* window (an iframe's contentWindow) is not supported — load the bundle
|
|
29
|
+
* inside that frame instead.
|
|
30
|
+
*/
|
|
26
31
|
window?: Window & typeof globalThis;
|
|
32
|
+
/**
|
|
33
|
+
* Run the focus-mutating checks (focus visibility/obscured). Default FALSE
|
|
34
|
+
* in DOM mode: they steal focus and scroll the page the user is looking
|
|
35
|
+
* at. Opt in for detached/offscreen documents only.
|
|
36
|
+
*/
|
|
37
|
+
interactiveChecks?: boolean;
|
|
27
38
|
}
|
|
28
39
|
/**
|
|
29
40
|
* Adapts a live Window into the PageLike the engine orchestration expects.
|