Build the ARIA attribute bundle for a Svelte renderer.
aria-required="true" whenever the field is non-optional.
aria-describedby=<hint-id> whenever a constraint hint applies.
aria-label=<description> when a non-empty description is
supplied via the description argument.
Returns a plain Record<string, string> so callers can spread the
result into any HTML element type without per-element TypeScript
widening. Svelte's {...attrs} spread accepts the record directly.
Build the ARIA attribute bundle for a Svelte renderer.
aria-required="true"whenever the field is non-optional.aria-describedby=<hint-id>whenever a constraint hint applies.aria-label=<description>when a non-empty description is supplied via thedescriptionargument.Returns a plain
Record<string, string>so callers can spread the result into any HTML element type without per-element TypeScript widening. Svelte's{...attrs}spread accepts the record directly.