If MDN explicitly warns user not to use them, we probably shouldn't. MDN also states: "Note that inline event handlers are blocked as well[...]You should replace them with addEventListener calls[...]" regarding CSP.