Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/theKashey/aria-hidden
/ functions
Functions
17 in github.com/theKashey/aria-hidden
⨍
Functions
17
◇
Types & classes
2
↓ 31 callers
Function
getNearestAttribute
(node: Element, name: string, parent: RefObject<Element> | Element)
__tests__/utils.ts:3
↓ 9 callers
Function
hideOthers
( originalTarget: Element | Element[], parentNode?: HTMLElement, markerName = 'data-aria-hidden' )
src/index.ts:159
↓ 5 callers
Function
factory
()
__tests__/aria.spec.tsx:8
↓ 5 callers
Method
getTarget
()
__tests__/shadow-dom.spec.tsx:28
↓ 3 callers
Function
supportsInert
()
src/index.ts:202
↓ 3 callers
Function
suppressOthers
( originalTarget: Element | Element[], parentNode?: HTMLElement, markerName = 'data-suppressed' )
src/index.ts:212
↓ 2 callers
Function
applyAttributeToOthers
( originalTarget: Element | Element[], parentNode: HTMLElement, markerName: string, controlAttribute:
src/index.ts:48
↓ 2 callers
Function
getDefaultParent
(originalTarget: Element | Element[])
src/index.ts:3
↓ 1 callers
Function
correctTargets
(parent: HTMLElement, targets: Element[])
src/index.ts:21
↓ 1 callers
Function
deep
(parent: Element | null)
src/index.ts:77
↓ 1 callers
Method
getAnotherTarget
()
__tests__/shadow-dom.spec.tsx:31
↓ 1 callers
Function
html
()
__tests__/aria.spec.tsx:31
↓ 1 callers
Function
inertOthers
( originalTarget: Element | Element[], parentNode?: HTMLElement, markerName = 'data-inert-ed' )
src/index.ts:185
↓ 1 callers
Function
unwrapHost
(node: Element | ShadowRoot)
src/index.ts:18
Function
App
()
__tests__/shadow-dom.spec.tsx:8
Method
constructor
()
__tests__/shadow-dom.spec.tsx:34
Function
keep
(el: Node | undefined)
src/index.ts:66