Skip to content

Commit

Permalink
accept documents into scan function
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Jun 26, 2024
1 parent 98d00be commit a418a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function requestIdleScan(
}

export async function scan(
element: Element,
element: Element | Document,
enabledRules?: Rule[],
): Promise<AccessibilityError[]> {
const errors: AccessibilityError[] = [];
Expand Down

0 comments on commit a418a78

Please sign in to comment.