We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d810dd commit 0627cf1Copy full SHA for 0627cf1
types/role-helpers.d.ts
@@ -1,19 +1,9 @@
1
-export function logRoles(
2
- container: HTMLElement,
3
- options?: LogRolesOptions,
4
-): string
5
-
6
-type LogRolesOptions = {
7
- hidden?: boolean
8
-}
9
+export function logRoles(container: HTMLElement): string
10
export function getRoles(container: HTMLElement): {
11
[index: string]: HTMLElement[]
12
}
13
14
/**
15
* https://testing-library.com/docs/dom-testing-library/api-helpers#isinaccessible
16
*/
17
export function isInaccessible(element: Element): boolean
18
19
export function computeHeadingLevel(element: Element): number | undefined
0 commit comments