mirror of https://github.com/sveltejs/svelte
fix: add pointer and touch events to a11y_no_static_element_interactions warning (#17548)
* fix: add pointer and touch events to a11y_no_static_element_interactions warning Fixes #17527 The a11y_no_static_element_interactions warning now triggers for pointer and touch events (onpointerdown, onpointerenter, ontouchstart, etc.) in addition to mouse and drag events. This ensures accessibility warnings are consistent across all pointer input methods. * fix test --------- Co-authored-by: Daniel <daniel@example.com> Co-authored-by: Rich Harris <rich.harris@vercel.com>pull/17537/head
parent
5e0d18d210
commit
5872b89fb8
Loading…
Reference in new issue