Home / Function/ a11y_misplaced_scope() — svelte Function Reference

a11y_misplaced_scope() — svelte Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/src/compiler/warnings.js lines 349–351

export function a11y_misplaced_scope(node) {
	w(node, 'a11y_misplaced_scope', `The scope attribute should only be used with \`<th>\` elements\nhttps://svelte.dev/e/a11y_misplaced_scope`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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