Release 4.7.0
This release adds support for a few features that have been added to browsers in the last year. No new rules are added, and it did not make axe-core stricter in any other significant way. The number of issues reported by this version may be lower than from the prior version. Of one rule, the impact level was raised.
Features
- aria-roledescription: deprecate rule (#3948) (1913a9e)
- aria-roles: deprecate the ARIA directory role (#3952) (893fdd0)
- d.ts: setup/teardown, reporters & metadata definitions (#3966) (78264ee)
- deprecate bower (#3889) (651d811)
- deprecate color.filteredRectStack, color.getRectStack, and dom.visuallyContains (#3859) (3be2bad)
- dom.focusDisabled,dom.isVisibleForScreenreader: support the inert attribute (#3857) (273c971)
- metadata: add Trusted Tester tag (#3986) (1f6a2a6)
- support the dialog element (#3902) (d4522cd)
Bug Fixes
- aria-allowed-attrs: allow aria-description and aria-braille* attrs (#3956) (2842395)
- aria-input-field-name: skip combobox popups (#3886) (3dcdd42)
- aria-required-children: allow separator in menu(bar) (#3868) (ec9f507)
- aria-required-children: do not fail for children with aria-hidden (#3949) (8714d6b)
- aria-required-children: list elements that are not allowed (#3951) (cce7586)
- autocomplete-valid: allow webauthn token (#3866) (fd3010f)
- color-contrast: correcly apply opacity to foreground color (#3973) (d7db279)
- color-contrast: correctly calculate contrast of flex/grid items with z-index (#3884) (cef96be)
- color-contrast: correctly compute background color for elements with opacity (#3944) (c051fe8), closes #3932
- color-contrast: correctly compute color contrast of elements (#3847) (4c3a00c)
- color-contrast: do not check contrast on elemets that are inerted (#3894) (da19946)
- color-contrast: skip ligature icons (#3867) (9486288)
- create-grid: correctly compute stack order for non-positioned stacking contexts (#3930) (8db2c24), closes #3932
- css-orientation-lock: support the css rotate property (#3958) (c51f8bf)
- focus-order-semantics: Add ARIA role article to list of valid roles for scrollable regions (#3927) (f029271)
- is-icon-ligature: prevent canvas2d warning willReadFrequently (#3931) (b3c52bb)
- link-in-text-block: allow links with identical colors (#3861) (5f90040)
- respondable: work with CDP
Page.setDocumentContent
(#3921) (66f23e5) - scrollable-region-focusable: change impact to serious (#3959) (e3a5c21)
- scrollable-region-focusable: skip native controls (#3862) (b0bdefa)