Commit f4abbaf
committed
test(no-invalid-interactive): promote peer-parity cases, drop audit file
Promoted valid DIVERGENCES: a[tabindex=0] without href (tabindex makes it
interactive; jsx-a11y flags it), and non-disallowed handlers (onmouseenter,
onmouseleave, oncontextmenu, ondrag — not in DISALLOWED_DOM_EVENTS, aligns
with jsx-a11y recommended). Promoted invalid DIVERGENCES: section with
aria-label (aria-label does not affect our interactivity check), menuitem and
datalist (not in NATIVE_INTERACTIVE_ELEMENTS unlike jsx-a11y), and
input[type=hidden] (explicitly excluded from native-interactive).1 parent c994ada commit f4abbaf
2 files changed
Lines changed: 41 additions & 543 deletions
File tree
- tests
- audit/no-static-element-interactions
- lib/rules
0 commit comments