a11y_consider_explicit_label() — svelte Function Reference
Architecture documentation for the a11y_consider_explicit_label() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD eb62ca4a_daa4_fe73_7e75_b570219a47ab["a11y_consider_explicit_label()"] f1bf72aa_b264_d0bf_7d50_355ff2159f0b["warnings.js"] eb62ca4a_daa4_fe73_7e75_b570219a47ab -->|defined in| f1bf72aa_b264_d0bf_7d50_355ff2159f0b 29704f9e_d3fa_71bb_674f_dc625b2ab6f0["check_element()"] 29704f9e_d3fa_71bb_674f_dc625b2ab6f0 -->|calls| eb62ca4a_daa4_fe73_7e75_b570219a47ab style eb62ca4a_daa4_fe73_7e75_b570219a47ab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 180–182
export function a11y_consider_explicit_label(node) {
w(node, 'a11y_consider_explicit_label', `Buttons and links should either contain text or have an \`aria-label\`, \`aria-labelledby\` or \`title\` attribute\nhttps://svelte.dev/e/a11y_consider_explicit_label`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does a11y_consider_explicit_label() do?
a11y_consider_explicit_label() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is a11y_consider_explicit_label() defined?
a11y_consider_explicit_label() is defined in packages/svelte/src/compiler/warnings.js at line 180.
What calls a11y_consider_explicit_label()?
a11y_consider_explicit_label() 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