isInteractive() — astro Function Reference
Architecture documentation for the isInteractive() function in a11y.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD c4646c4f_e5fa_4018_d842_df6af38efc11["isInteractive()"] 7c3b1f35_d834_f912_339d_8627bdd8631a["a11y.ts"] c4646c4f_e5fa_4018_d842_df6af38efc11 -->|defined in| 7c3b1f35_d834_f912_339d_8627bdd8631a style c4646c4f_e5fa_4018_d842_df6af38efc11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/a11y.ts lines 209–216
function isInteractive(element: Element): boolean {
const attribute = MAYBE_INTERACTIVE.get(element.localName);
if (attribute) {
return element.hasAttribute(attribute);
}
return true;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isInteractive() do?
isInteractive() is a function in the astro codebase, defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/a11y.ts.
Where is isInteractive() defined?
isInteractive() is defined in packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/a11y.ts at line 209.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free