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

Function a11y_aria_attributes

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

Source from the content-addressed store, hash-verified

144 * @param {string} name
145 */
146export function a11y_aria_attributes(node, name) {
147 w(node, 'a11y_aria_attributes', `\`<${name}>\` should not have aria-* attributes\nhttps://svelte.dev/e/a11y_aria_attributes`);
148}
149
150/**
151 * '%value%' is an invalid value for 'autocomplete' on `<input type="%type%">`

Callers

nothing calls this directly

Calls 1

wFunction · 0.70

Tested by

no test coverage detected