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

Function a11y_hidden

packages/svelte/src/compiler/warnings.js:215–217  ·  view source on GitHub ↗
(node, name)

Source from the content-addressed store, hash-verified

213 * @param {string} name
214 */
215export function a11y_hidden(node, name) {
216 w(node, 'a11y_hidden', `\`<${name}>\` element should not be hidden\nhttps://svelte.dev/e/a11y_hidden`);
217}
218
219/**
220 * Screenreaders already announce `<img>` elements as an image

Callers

nothing calls this directly

Calls 1

wFunction · 0.70

Tested by

no test coverage detected