Skip to content

Releases: dequelabs/axe-core

Release 4.9.0

25 Mar 19:39
d847924
Compare
Choose a tag to compare

Features

Bug Fixes

  • Add LICENSE-3RD-PARTY.txt file (#4304) (daa0fe6)
  • add Object.values polyfill for node <=6 (#4274) (5eb867b)
  • aria-required-children: avoid confusing aria-busy message in failures (#4347) (591607d), closes #fail13 #4340
  • avoid reading element-specific node properties of non-element node types (#4317) (b853b18), closes #4316 #4316
  • color-contrast: handle text that is outside overflow: hidden ancestor (#4357) (bdb7300), closes #4253
  • color-contrast: support color blend modes hue, saturation, color, luminosity (#4365) (7ae4761)
  • d.ts: RawNodesResult issues (#4229) (d660518)
  • d.ts: RunOptions.reporter can be any string (#4218) (e53f5c5)
  • i18n: update Italian translations (#4377) (4d65d4b)
  • listitem: clarify roleNotValid message (#4374) (0f8a9af)
  • scrollable-region-focusable: missing wcag213 tag (#4201) (0080a72)
  • target-size: always pass 10x targets (avoid perf bottleneck) (#4376) (be327c4)
  • target-size: do not crash for nodes with many overlapping widgets (#4373) (1dbea83), closes #4359 #4359 #4360
  • utils/get-selector: ignore 'xmlns' attribute when generating a selector (#4303) (938b411)

Release 4.8.4

07 Feb 18:01
9ba9d05
Compare
Choose a tag to compare

This release should not result in different issue numbers. For TypeScript users, an error in type definitions has been corrected. This release could require a correction to how axe-core types are used. This release may change selectors on elements with the xmlns attribute, as the selectors axe-core prosed with those was invalid. Deduplication based on selectors between this and and prior versions of axe-core can fail because of this change.

Bug Fixes

  • Add LICENSE-3RD-PARTY.txt file (#4304) (139c553)
  • avoid reading element-specific node properties of non-element node types (#4317) (a2a6935), closes #4316 #4316
  • d.ts: RawNodesResult issues (#4229) (f105266)
  • d.ts: RunOptions.reporter can be any string (#4218) (80de793)
  • utils/get-selector: ignore 'xmlns' attribute when generating a selector (#4303) (8c68546)

Release 4.8.3

18 Dec 21:06
d3c8b4b
Compare
Choose a tag to compare

This release will not change axe-core's results. Only needed when used with old versions of NodeJS.

Bug Fixes

Release 4.8.2

21 Sep 16:25
9968aa9
Compare
Choose a tag to compare

Bug Fixes

Release 4.8.1

08 Sep 16:24
cbf9c45
Compare
Choose a tag to compare

This release does not change the number of issues reported.

Bug Fixes

  • target-size: show closest offset in message (#4151) (a0882f6)

Release 4.8.0

06 Sep 17:44
712026e
Compare
Choose a tag to compare

This axe-core release makes various changes to impact. As a result issues previously reported in one rule may now be reported under a different rule. In rarer cases, the impact under which an issue is reported may change. This release has further deprecated the duplicate-id and duplicate-id-active rule, along with setting the duplicate-id-aria to always report as "needs review" rather than as a violation. As these three rules are fairly common causes of issues, this change may result in the total issue reported going down significantly.

Consistent Rule Impact

This release changes it so that a rule never changes what impact it reports. To facilitate this while without changing the impact on certain issues, some rules have been split. The following changes were involved:

  • Deprecate impact on checks; use rules instead (#4114) (2cc5547)
  • add rule aria-deprecated-role (#4074) (03f2771)
  • add rule aria-conditional-attr (#4094) (d417630)
  • aria-input/toggle-field-name: set impact always to serious (#4095) (e031d68)
  • aria-prohibited-attr: add rule aria-prohibited-attr (#4088) (7b115d3)
  • impact: aria-roles / aria-valid-attr-value is always "critical" (#4112) (5cc8041)
  • impact: scope-attr-valid is always "moderate" (#4113) (131f552)

Other Features

  • deprecate & disable duplicate-id / duplicate-id-active (#4071) (733c45e)
  • duplicate-id-aria: set to review on fail and tag as wcag412 (#4075) (9f1a3e3)
  • add EN.301.549 tags to rules (#4063) (de3da89)
  • checks: enable help-same-as-label, but remove from rules (#4096) (034038a)
  • new-rule: aria-braille-equivalent finds incorrect uses of aria-braille attributes (#4107) (6260a2f)
  • page-no-duplicate-banner/contentinfo: deprecate options.nativeScopeFilter, take into ancestors with sectioning roles (#4105) (c6e07be)

Type Fixes & Improvements

Various improvements were made to the types. Potentially the most impactful of which is that the target and ancestry property now return as UnlabelledFrameSelector instead of as string[], which is incorrect for selectors involving shadow DOM. This may create some issues during migration for any code that has been incorrectly assuming these two properties have the string[] type. For more details and other type changes, see the commit itself:

Bug Fixes

  • access-name: get name from header elements (#4097) (fbe99bf)
  • add element semantics (#4115) (637bf6c)
  • aria-allowed-attr: pass aria-expanded on checkbox & switch (#4110) (fcf76e0), closes #3339
  • aria-allowed-role: Add doc-glossary to allowed roles for aside element (#4083) (6ca38f6)
  • aria-allowed-role: add meter to allowed roles for named img (#4055) (173f29d), closes #4054
  • aria-required-childen: test visibility of grandchildren (#4091) (a202b69)
  • aria-text: typo in rule description (#4131) (85a0e9c)
  • aria-valid-attr-value: allow empty value on aria-braille* & aria-valuetext (#4109) (c4c3e65)
  • avoid memory issues by doing better cleanup (#4059) (16c5cfa)
  • avoid problems from element IDs that exist on object prototype (#4060) (8d135dd)
  • color-contrast: correctly handle flex and position (#4086) (9d5f496)
  • color-contrast: get text stoke from offset shadows (#4079) (13acffe)
  • color-contrast: ignore format unicode characters (#4102) (049522e)
  • color-contrast: ignore zero width characters (#4103) (4deb0a0)
  • color-contrast: process non-rgb color functions (#4092) (9634282)
  • commons/dom/createGrid: only add the visible, non-overflow areas of an element to the grid (#4101) (d77f47b)
  • ensure reporter errors can propagate (#4111) (080cc1b)
  • ignore stylesheets fetching style tag in jsdom (#4138) (d7c16a4)
  • jsdom: allow axe.setup() without a global window (#4116) (33b0314)
  • target-size: correctly calculate bounding box (#4125) (1494b4c)
  • target-size: update to match new spacing requirements (#4117) (49eaa0e)
  • Use correct copyright year (#4098) (cab6a2b)
  • utils/clone: don't try to clone elements from different window context (#4072) (55000d0)

Release 4.7.2

25 May 16:29
b4f78df
Compare
Choose a tag to compare

This release corrects the Trusted Tester v5 tags, which were introduced in 4.7.0, and it addresses a few false positives which for pages with forms may result in a few less issues found.

Bug Fixes

  • aria-allowed-attr: Add aria-required to switch role (#4029) (cb51be4), closes #4027
  • aria-allowed-attr: allow aria-required on role=slider (#4035) (bb2bf60)
  • aria-required-children: set related nodes for invalid children (#4033) (377f72b)
  • tags: Add / correct several TTv5 tags (#4031) (25859dd)

Release 4.7.1

15 May 15:45
c806e57
Compare
Choose a tag to compare

This release addresses a number of bugs. Some things that were failed in the previous release may now be passed or require manual review.

Bug Fixes

  • aria-allowed-attr: no inconsistent aria-checked on HTML checkboxes (#3895) (704043e)
  • aria-allowed-attrs: add aria-expanded to allowed attrs for menuitemcheckbox and menuitemradio (#3994) (0f405c6)
  • aria-required-children: trigger reviewEmpty with hidden children (#4012) (a19b6cb)
  • color-contrast: support CSS 4 color spaces (#4020) (65621c3)
  • link-in-text-block: set links with pseudo-content for review (#4005) (949f4f8)

Release 4.7.0

17 Apr 17:18
c7957d2
Compare
Choose a tag to compare

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)

Release 4.6.3

23 Jan 18:17
4d06caa
Compare
Choose a tag to compare

This release can reduce the number of issues reported. On color-contrast it will result in fewer incomplete results (aka "needs review"), which may result in a few more color-contrast violations found.

Bug Fixes

  • aria-required-children: allow separator in menu(bar) (#3868) (46c9499)
  • autocomplete-valid: allow webauthn token (#3866) (a3d1b9d)
  • color-contrast: correctly compute color contrast of <slot> elements (#3847) (844cea1)
  • color-contrast: skip ligature icons (#3867) (7dfbd9a)
  • link-in-text-block: allow links with identical colors (#3861) (6761f36)
  • scrollable-region-focusable: skip native controls (#3862) (aaf44e9)