Releases: dequelabs/axe-core
Releases · dequelabs/axe-core
Release 4.4.3
This release does not change results of axe-core. Instead it gets rid of a warning when axe-core is installed with NPM using older versions of NodeJS. We also added a missing type definition when using axe.configure()
in TypeScript.
Bug Fixes
Release 4.4.2
This release could reduce the number of violations reported and it could increase the number of incomplete items reported. We've tweaked a few remediation messages of rules for greater consistency and clarity. Role presentation and role none are now allowed on the HTML nav element. The aria-hidden-focusable rule now returns reports incomplete instead of a violation if the element has the onfocus attribute.
Bug Fixes
- aria-hidden-focusable: report incomplete with onfocus (#3407) (6755e89)
- aria-hidden-focus: Update rule help & description (#3422) (7cfb4b1)
- aria-valid-attr-value: add note about element id being in a different shadow DOM tree (#3421) (24f74df)
- color-contrast: consistently return color contrast information in the data object for pseudo elements (#3453) (1a9d95e)
- deprecatedrole,color-contrast: fix message to properly include deprecated role, improve color-contrast pass messages (#3387) (650e503)
- html-elms: update role allowances for nav element (#3402) (8aa816a), closes #3401
- standards: fix address typo in html-elms.js (#3418) (f235cc7), closes #3417
Release v4.4.1
Release v4.4.0
Features
- add new ARIA roles (#3138) (61be7e5)
- aria-allowed-attr: report violation for non-global ARIA attrs on element without role (#3342) (fb5d990)
- aria-allowed-attr: report violations for non-global ARIA attributes on elements without a role (#3102) (87cfc0b)
- color-contrast: add support for CSS mix-blend-mode (#3226) (d497f40)
- commons: deprecate shadowElementsFromPoint (#3311) (c3a7d16)
- configure: Deprecate branding: Object, use a string instead. (#3278) (1f01309)
- dpub: upgrade to DPUB 1.1 and report deprecated roles (#3280) (034a846)
- options: make axe.ping configurable with pingWaitTime (#3273) (ce4dfaf)
- rule: add new color-contrast-enhanced rule (WCAG AAA) (#3235) (bec20fc), closes #2934
Bug Fixes
- allowed-role: area without href can have a button or link role (#3275) (bf7e60a)
- aria-allowed-attr: check for invalid
aria-attributes
forrole="row"
(#3160) (cfa900d) - aria-allowed-attr: revert violation for non-global ARIA attrs on element without role (#3243) (112b960)
- aria-allowed-children,aria-allowed-parent: allow group role in listbox (#3195) (cb01975)
- aria-allowed-role: allow title, aria-label and aria-labelledby on a img element with a supported role (#3224) (006a681)
- aria-allowed-role: landmark roles banner on header and contentinfo on footer to only report on top-level rule (#3142) (1fd4b00)
- aria-allowed-roles: allow role=radio on img with non-empty name (#3320) (accafdf)
- aria-allowed-roles: update role allowances for section element (#3238) (99676ec), closes #3237
- aria-allowed-role: Update allowed roles based on ARIA spec updates (#3124) (00f6efc)
- aria-allowed-role: updates the allowed roles for the wbr element to none and presentation (#3192) (2f439b3), closes #3177
- aria-prohibited-attr: update metadata message (#3206) (d1a768e)
- autocomplete-valid: Allow custom autocomplete attribute values (#3225) (6076ee8)
- axe.configure: do not remove newline characters from locale doT strings (#3216) (ea2ce17)
- axe.d.ts: allow Node for include/exclude object (#3338) (e699939)
- axe.run: add option to increase iframe ping timeout (#3233) (ec937e3)
- check for hidden elements on
aria-errormessage
(#3156) (95d37dd) - color-contrast: account for 0 width scroll regions with children (#3172) (5908f0d)
- color-contrast: account for elements that do not fill entire bounding size (#3186) (699697b)
- color-contrast: check bg on fg contrast for thin text-shadows (#3350) (d92a7e5)
- color-contrast: correctly apply page background color (#3207) (fbc581d)
- color-contrast: correctly compute color-contrast of truncated children (#3203) (ac7b2b5)
- color-contrast: correctly handle nested scroll regions (#3212) (22db29c)
- color-contrast: correctly work with positioned elements without z-index (#3209) (725a20c)
- color-contrast: inconsistency of bgOverlap message based on scroll (#3310) (25eff98)
- color-contrast: properly blend multiple alpha colors (#3193) (e930a70)
- core: Incomplete fallback was missing, and could cause infinite loop (#3302) (f23d8c8)
- custom-elms: Don't error on custom Element.children prop (#3326) (2ad92f6)
- d.ts: Add PartialResults type (#3126) (544b6d5)
- get-selector: do not URL encode or token escape attribute selectors (#3215) (6f7e183)
- getFrameContext: option.iframe=false always returns an empty array (#3279) (dfa9725)
- greater consistency of help / description text (#3204) (0677565)
- is-visible: do not error if window.Node does not exist (#3168) (4046087)
- jsdoc: typo Sting -> String (d1cc205)
- label-content-name-mismatch: account for formatting elements (#3349) ([53a6684](53a668...
Release v4.3.5
Release v4.3.4
Bug Fixes
- aria-allowed-attr: check for invalid
aria-attributes
forrole="row"
(#3160) (76aa5ec) - aria-allowed-children,aria-allowed-parent: allow group role in listbox (#3195) (d742b29)
- aria-allowed-role: updates the allowed roles for the wbr element to none and presentation (#3192) (66db765), closes #3177
- aria-prohibited-attr: update metadata message (#3206) (f9cf9fa)
- axe.configure: do not remove newline characters from locale doT strings (#3216) (5925898)
- axe.run: add option to increase iframe ping timeout (#3233) (023f356)
- color-contrast: account for 0 width scroll regions with children (#3172) (ac913a1)
- color-contrast: account for elements that do not fill entire bounding size (#3186) (84229d4)
- color-contrast: correctly apply page background color (#3207) (0ea7e1b)
- color-contrast: correctly compute color-contrast of truncated children (#3203) (4adb911)
- color-contrast: correctly handle nested scroll regions (#3212) (80d91c0)
- color-contrast: correctly work with positioned elements without z-index (#3209) (0322070)
- greater consistency of help / description text (#3204) (0be12e6)
- Separate Level AAA rules from A and best-practices (#3191) (7e6e6da)
- color-contrast: properly blend multiple alpha colors (#3193) (5aa0441)
- is-visible: do not error if window.Node does not exist (#3168) (cf58aea)
- label-title-only: allow hidden labels (#3183) (ab636ef)
- nativeSelectValue: update selected value on change (#3154) (ad584a1)
- p-as-heading:
p-as-heading
rule to account fortextContent
length (#3145) (e0d4dc6) - typescript: allow passing a NodeList to ElementContext (#3161) (5f2e517)
- check for hidden elements on
aria-errormessage
(#3156) (69b2e33)
Release v4.2.4
Release 4.3.3
Release 4.3.2
Bug Fixes
- aria-hidden-focusable: disabled aria-hidden fieldset should not have focusable children (#3056) (0865bd7)
- aria-required-attr: only require aria-controls if aria-expanded=true (#3089) (63b6c7b)
- aria-required-parent: Filter out group from required parent roles if group is present (#3084) (1cb270c)
- axe.d.ts: fix finishRun types (#3098) (e79c65c)
- color-contrast: check for size before ignoring pseudo elements (#3097) (e0f6c0c)
- core: stop mutating Context's input (#3076) (5dc34ee)
- finishRun: handle null for failed iframe results (#3096) (8947099)
- run,finishRun: don't mutate options, set default reporter to v1 (#3088) (90f0b27)