We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab9c3ae commit 5e03343Copy full SHA for 5e03343
types/role-helpers.d.ts
@@ -1,9 +1,19 @@
1
-export function logRoles(container: HTMLElement): string
+export function logRoles(
2
+ container: HTMLElement,
3
+ options?: LogRolesOptions,
4
+): string
5
+
6
+interface LogRolesOptions {
7
+ hidden?: boolean
8
+}
9
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