Fix jsx-a11y/no-noninteractive-element-interactions warnings raised by jsx-a11y linter.
To get a list of accessibility warnings raised by jsx-a11y linter run: yarn lint:jsx-a11y.
From that list please note all instances that are flagged to have "jsx-a11y/no-noninteractive-element-interactions" problem. Each one needs to be addressed individually.
Once all of the instances are resolved make sure to change this setting in .eslintrc.jsx-a11y from:
"jsx-a11y/no-noninteractive-element-interactions": ["warn", {
"handlers": ["onClick", "onError", "onLoad", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"],
"body": ["onError", "onLoad"],
"iframe": ["onError", "onLoad"],
"img": ["onError", "onLoad"]
}],
to
"jsx-a11y/no-noninteractive-element-interactions": ["error", {
"handlers": ["onClick", "onError", "onLoad", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"],
"body": ["onError", "onLoad"],
"iframe": ["onError", "onLoad"],
"img": ["onError", "onLoad"]
}],
The error in question once again revolves around using generic elements instead of buttons for actions. Through solving #7537 I think most of the errors here, if not all, should be resolved as well.
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
How's it going @codingnninja?
Firefox Developer Tools (including Debugger tool) development is entirely happening in Bugzilla and new issues should be reported here: https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&component=Debugger
Also, supporting JSX in the code base is not on our long term roadmap, so this might be invalid report.
Honza