Why it matters
A div with onClick is invisible to keyboards and screen readers: it can't be focused with Tab, doesn't fire on Enter/Space and isn't announced as a button.
How to fix it
Example
<button type="button" onClick={open} className="…">Open menu</button>References
More lint rules
void lint reports 67 rules in this category. Static source checks with no browser: Tailwind v4 silent failures, Next.js 16 API traps, React render-body bugs, accessibility markup, SEO files and motion hygiene.
listener-without-cleanupEvent listener or interval added in an effect without cleanupscroll-listener-nonpassive`wheel` / `touchstart` / `touchmove` listener without `{ passive: true }`unload-listener`unload` event listeneruseeffect-fetchPage fetches its data in `useEffect`dangerously-set-jsonld-unescapedJSON-LD injected with `JSON.stringify` without escaping `<`transition-all`transition: all` / `transition-all`animate-layout-propAnimation of layout properties (width/height/top/left/margin/padding)outline-none-no-replacementFocus outline removed without a visible replacement