debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Fix jsx-a11y/no-noninteractive-tabindex warnings raised by jsx-a11y linter.

Open yzen opened this issue 7 years ago • 4 comments

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-tabindex" 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-tabindex": ["warn", {
  "tags": [],
  "roles": ["tabpanel"]
}],

to

"jsx-a11y/no-noninteractive-tabindex": ["error", {
  "tags": [],
  "roles": ["tabpanel"]
}],

yzen avatar Dec 18 '18 15:12 yzen

This rule is about tabindex being used on elements that are not interactive by default, so they aren't providing any real benefit being there. I believe this should be mostly resolved in fixing #7537 as well. But quite possibly not fully resolved.

Garbee avatar Dec 18 '18 23:12 Garbee

/claim

codingnninja avatar Dec 27 '18 20:12 codingnninja

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!

claim avatar Dec 27 '18 20:12 claim

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

janodvarko avatar Feb 25 '21 13:02 janodvarko