Minimal reproduction for svelte-range-slider-pips A11y warnings when building with Vite and Svelte 5.
npm installnpm run buildNote: The svelte.config.js includes an onwarn handler to surface these warnings. Without it, warnings from node_modules may be silently suppressed.
No warnings during build.
Multiple a11y_no_static_element_interactions warnings appear from RangePips.svelte:
InternalCompileWarning {
name: 'CompileWarning',
code: 'a11y_no_static_element_interactions',
message: '`<span>` with a pointerdown or pointerup handler must have an ARIA role\n' +
'https://svelte.dev/e/a11y_no_static_element_interactions',
filename: 'node_modules/svelte-range-slider-pips/dist/svelte/components/RangePips.svelte',
position: [ 2124, 2892 ],
start: { line: 78, column: 4, character: 2124 },
end: { line: 100, column: 11, character: 2892 },
...
}
Three warnings total from lines 78, 107, and 135 in RangePips.svelte.