a11y_aria_attributes() — svelte Function Reference
Architecture documentation for the a11y_aria_attributes() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD d9e10c1a_4b53_ad4a_3649_d80ac30e90e9["a11y_aria_attributes()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] d9e10c1a_4b53_ad4a_3649_d80ac30e90e9 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 c342967b_b314_8027_476d_d085ed0e13f0["check_element()"] c342967b_b314_8027_476d_d085ed0e13f0 -->|calls| d9e10c1a_4b53_ad4a_3649_d80ac30e90e9 style d9e10c1a_4b53_ad4a_3649_d80ac30e90e9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 146–148
export function a11y_aria_attributes(node, name) {
w(node, 'a11y_aria_attributes', `\`<${name}>\` should not have aria-* attributes\nhttps://svelte.dev/e/a11y_aria_attributes`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does a11y_aria_attributes() do?
a11y_aria_attributes() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is a11y_aria_attributes() defined?
a11y_aria_attributes() is defined in packages/svelte/src/compiler/warnings.js at line 146.
What calls a11y_aria_attributes()?
a11y_aria_attributes() is called by 1 function(s): check_element.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free