Skip to content

10.10.0

Compare
Choose a tag to compare
@vdiez vdiez released this 23 Nov 08:52
· 399 commits to master since this release
8167e5b

This release

Added 17 new rules for React Accessibility

  • S6841 tabIndex values should be non-positive
  • S6842 Non-interactive DOM elements should not have interactive ARIA roles
  • S6840 DOM elements should use the autocomplete attribute correctly
  • S6843 Interactive DOM elements should not have non-interactive ARIA roles
  • S6844 Anchor tags should not be used as buttons
  • S6846 DOM elements should not use the accesskey property
  • S6850 Header elements should have accessible content
  • S6851 Images should have a non-redundant alternate description
  • S6847 Non-interactive elements shouldn't have event handlers
  • S6854 iFrames must have a title
  • S6855 Media elements should have captions
  • S6845 Non-interactive DOM elements should not have the tabIndex property
  • S6849 HTML elements should have a valid language property
  • S6848 Non-interactive DOM elements should not have an interactive handler
  • S1077 Image, area, button with image and object elements should have an alternative text
  • S6852 Elements with an interactive role should support focus
  • S6853 Label elements should have a text label and an associated control

Added 5 new rules for React deprecated APIs

  • S6788 Disallow usage of findDOMNode
  • S6789 Disallow usage of isMounted
  • S6790 Disallow using string references
  • S6791 Disallow usage of unsafe lifecycle methods
  • S1874 Disable older React deprecated APIs

What's Changed

This release will be part of SonarQube 10.4

https://github.com/SonarSource/SonarJS/milestone/82?closed=1