@webability/core 1.17.0 → 1.17.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 +70 -19
- package/dist/dom.js +70 -19
- package/dist/engine.cjs +53 -2
- package/dist/engine.js +53 -2
- package/dist/index.cjs +68 -17
- package/dist/index.js +68 -17
- package/dist/playwright.cjs +68 -17
- package/dist/playwright.d.cts +11 -1
- package/dist/playwright.d.ts +11 -1
- package/dist/playwright.js +68 -17
- package/package.json +2 -2
package/dist/playwright.d.cts
CHANGED
|
@@ -9,10 +9,20 @@ declare function a11yCheck(page: Page, options?: A11yCheckOptions): Promise<Scan
|
|
|
9
9
|
declare class WebAbility {
|
|
10
10
|
private page;
|
|
11
11
|
private options;
|
|
12
|
-
private
|
|
12
|
+
private issues;
|
|
13
13
|
private observer;
|
|
14
|
+
private merged;
|
|
15
|
+
private running;
|
|
16
|
+
private queued;
|
|
14
17
|
constructor(page: Page, options?: A11yCheckOptions);
|
|
15
18
|
analyze(options?: A11yCheckOptions): Promise<ScanResult>;
|
|
19
|
+
private record;
|
|
20
|
+
/**
|
|
21
|
+
* The page calls this on every DOM mutation, and any page script can call it
|
|
22
|
+
* too. One scan runs at a time; calls during a scan queue ONE more scan
|
|
23
|
+
* (the DOM it sees includes every mutation so far), never one per call.
|
|
24
|
+
*/
|
|
25
|
+
private onMutation;
|
|
16
26
|
start(options?: A11yCheckOptions): Promise<void>;
|
|
17
27
|
stop(): Promise<ScanResult>;
|
|
18
28
|
}
|
package/dist/playwright.d.ts
CHANGED
|
@@ -9,10 +9,20 @@ declare function a11yCheck(page: Page, options?: A11yCheckOptions): Promise<Scan
|
|
|
9
9
|
declare class WebAbility {
|
|
10
10
|
private page;
|
|
11
11
|
private options;
|
|
12
|
-
private
|
|
12
|
+
private issues;
|
|
13
13
|
private observer;
|
|
14
|
+
private merged;
|
|
15
|
+
private running;
|
|
16
|
+
private queued;
|
|
14
17
|
constructor(page: Page, options?: A11yCheckOptions);
|
|
15
18
|
analyze(options?: A11yCheckOptions): Promise<ScanResult>;
|
|
19
|
+
private record;
|
|
20
|
+
/**
|
|
21
|
+
* The page calls this on every DOM mutation, and any page script can call it
|
|
22
|
+
* too. One scan runs at a time; calls during a scan queue ONE more scan
|
|
23
|
+
* (the DOM it sees includes every mutation so far), never one per call.
|
|
24
|
+
*/
|
|
25
|
+
private onMutation;
|
|
16
26
|
start(options?: A11yCheckOptions): Promise<void>;
|
|
17
27
|
stop(): Promise<ScanResult>;
|
|
18
28
|
}
|