@a11y-pulse/skip-link-audit 0.3.0 → 0.4.0
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/adaptor.d.ts +2 -2
- package/package.json +1 -1
package/dist/adaptor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Rect } from "@a11y-pulse/browser-adaptor";
|
|
1
|
+
import type { EvaluateArgs, PageFunction, Rect } from "@a11y-pulse/browser-adaptor";
|
|
2
2
|
/**
|
|
3
3
|
* An element handle in the page. This type is adaptor-specific and is opaque to the audit.
|
|
4
4
|
*/
|
|
@@ -11,7 +11,7 @@ export interface SkipLinkAuditAdaptor {
|
|
|
11
11
|
/**
|
|
12
12
|
* Run `fn` in the page context, passing in any serialisable `args`
|
|
13
13
|
*/
|
|
14
|
-
evaluate<
|
|
14
|
+
evaluate<F extends PageFunction>(fn: F, ...args: EvaluateArgs<Parameters<F>>): Promise<Awaited<ReturnType<F>>>;
|
|
15
15
|
/**
|
|
16
16
|
* Return an opaque handle to an element in the page
|
|
17
17
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a11y-pulse/skip-link-audit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "WCAG 2.4.1 Bypass Blocks audit that finds skip-link-like in-page anchors in the first tab stops and verifies that activating them moves keyboard focus.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|