MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / describedBy

Function describedBy

src/test/tooltip-focus-visible.spec.js:16–18  ·  view source on GitHub ↗
(anchor)

Source from the content-addressed store, hash-verified

14})
15
16function describedBy(anchor) {
17 return anchor.getAttribute('aria-describedby') ?? ''
18}
19
20const originalMatches = Element.prototype.matches
21const navigatorSpies = []

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected