Home / Function/ a11y_missing_content() — svelte Function Reference

a11y_missing_content() — svelte Function Reference

Architecture documentation for the a11y_missing_content() function in warnings.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  03933b20_88e9_b9a0_97c2_c89c2ba11d39["a11y_missing_content()"]
  56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"]
  03933b20_88e9_b9a0_97c2_c89c2ba11d39 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475
  c342967b_b314_8027_476d_d085ed0e13f0["check_element()"]
  c342967b_b314_8027_476d_d085ed0e13f0 -->|calls| 03933b20_88e9_b9a0_97c2_c89c2ba11d39
  style 03933b20_88e9_b9a0_97c2_c89c2ba11d39 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 369–371

export function a11y_missing_content(node, name) {
	w(node, 'a11y_missing_content', `\`<${name}>\` element should contain text\nhttps://svelte.dev/e/a11y_missing_content`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does a11y_missing_content() do?
a11y_missing_content() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is a11y_missing_content() defined?
a11y_missing_content() is defined in packages/svelte/src/compiler/warnings.js at line 369.
What calls a11y_missing_content()?
a11y_missing_content() 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