This release adds requirements introduced in WAI-ARIA 1.2, which can result in new issues. The color contrast rule has been improved which should reduce the number of incomplete (aka "needs review") results.
Lastly, this release adds the ability to include or exclude elements inside shadow DOM trees from a test run. See [dom selection] for details.
Features
- aria-required-attr: require aria-controls on combobox and aria-valuenow on focusable separator (#3786) (5259e88)
- checks/label-content-name-mismatch: deprecate occuranceThreshold option in favor of occurrenceThreshold to fix typo (#3782) (5026d65)
- commons: deprecate flattenShadowColors in favor of flattenColors (#3792) (af49daf)
- context: allow selecting shadow DOM nodes (#3798) (9e1e31b)
- list,listitem: do not allow group as allowed parent or child (#3784) (d1cbf6f)
- required-attr: require aria-checked for checkbox-like and radio-like roles (#3785) (563e4e9)
- utils: new shadowSelectAll utility (#3796) (5865462)
Bug Fixes
- aria-allowed-role: allow combobox on button, checkbox and combobox on input[type=button] (#3354) (ac688c0), closes #3353
- aria-required-children: allow menu as child of menu (#3820) (a6569e5)
- color-contrast: consider -webkit-text-stroke & -webkit-text-fill-color (#3791) (228daf1)
- color-contrast: correctly calculate background color of text nodes with different size than their container (#3703) (123b83c)
- get-role: handle presentation role inheritance for vnodes with no parent (#3801) (b971caf)
- html-lang-valid: only run rule when attribute has value (#3663) (1a7eecb), closes #3624
- metadata: Map aria-required-children to ACT rule bc4a75 (#3790) (a33a523)