MCPcopy
hub / github.com/sveltejs/svelte / a11y_figcaption_index

Function a11y_figcaption_index

packages/svelte/src/compiler/warnings.js:198–200  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

196 * @param {null | NodeLike} node
197 */
198export function a11y_figcaption_index(node) {
199 w(node, 'a11y_figcaption_index', `\`<figcaption>\` must be first or last child of \`<figure>\`\nhttps://svelte.dev/e/a11y_figcaption_index`);
200}
201
202/**
203 * `<figcaption>` must be an immediate child of `<figure>`

Callers

nothing calls this directly

Calls 1

wFunction · 0.70

Tested by

no test coverage detected