Releases: dequelabs/axe-core
Releases · dequelabs/axe-core
Release v4.0.2
Bug Fixes
- color-contrast: dont error for floating element (#2444) (45eb746)
- i18n: proofreading of the french translations (#2485) (ebd0407), closes #2484
- implicit-role: return gridcell for td child of grid or treegrid (#2501) (0553d4d)
- label: pass when role none or presentation (#2464) (1d3c2fc), closes #2458
- link-name: fix regression where link was not named from title attribute (#2492) (b86c73b)
- required-parent: fail if intermediate role is not the required parent (#2494) (522865c)
- svg-non-empty-title: update fail message to indicate if the title element is empty or missing (#2462) (9598656), closes #2452
- valid-lang: fail when lang attribute contains only whitespace (#2504) (8455a7f)
Release 4.0.1
Release 4.0.0
Breaking Changes
The following rules were deprecated in axe-core 3.x, and are removed in 4.0:
- aria-dpub-role-fallback
- checkboxgroup
- layout-table
- radiogroup
- video-description
The following checks were deprecated in axe-core 3.x, and are removed in 4.0:
- aria/implicit-role-fallback
- forms/fieldset
- forms/group-labelledby
- media/description
- tables/has-caption
- tables/has-summary
- tables/has-th
Features
- add layout-table-matches method (#2400) (d7ba70f)
- aria/get-roles-by-type: deprecate in favor of standards/get-aria-roles-by-type (#2362) (c0c37ea)
- aria/lookupTable, aria-allowed-attr: deprecate aria.lookupTable and passing allowed attributes to aria-allowed-attr (#2395) (739d1b1)
- avoid-inline-spacing: add option for which css properties to look at (#2244) (93c027a)
- checks: normalize check options to alway be an object (#2219) (da12da7)
- checks,rules: remove deprecated checks and rules (#2214) (317545a)
- closest: VirtualNode implementation of Element.closest. Deprecate commons.dom.findUp and commons.dom.findUpVirtual (#2139) (493dd22)
- color-contrast, utils: add more options to color-contrast, add utils.deepMerge, deprecate commons.color.hasValidContrastRatio (#2256) (49fdb46)
- commons/aria: deprecate getRole({ noImplicit }) for getExplicitRole() (#2294) (a2873ea)
- commons/standards: create the commons/standards object for helper functions against the standards table (#2358) (6dce974)
- duplicate-img-label: add option for parentSelector (#2216) (8906806)
- get-role: add presentation role resolution and inheritance (#2281) (e207190)
- get-role: work with standards object (#2367) (1b20faf)
- globals: deduce required window and document globals from context (#2308) (61bac69)
- has-descendant, page-no-duplicate: move page-has-elm and page-no-duplicate to generic check (#2229) (59125a0)
- has-lang: add option for which attributes to look at (#2239) (e69c46a)
- has-text-content: add generic check has-text-content (#2234) (60ddc65)
- i18n: add Basque (eu) translation (#1964) (176cf82)
- matcher: allow regex string to be parsed as regex (#2324) (321b2d1)
- matches: add explicitRole, implicitRole, and semanticRole matches functions (#2286) (30efbff)
- matches-definition: add generic check matches-definition (#2233) (20467aa)
- metadata-function-map: add metadata function map to support check evaulate functions as an id string (#2162) (ec9b931)
- non-space-content: switch all non-empty checks to new generic check (#2215) (7ce7b00)
- object-alt,accessible-text: object-alt rule and accessible text to work with serial virtual nodes with children (e8e17e4)
- options: add ancestry CSS selector to nodes (#2389) (f2cccf5)
- region: add option to match nodes as region (#2249) (b544554)
- required-attrs: deprecate options to pass more required attrs (797ee34)
- rule: add reviewOnFail option to have rule return as needs review instead of violation (#2235) (bb72acd)
- rule: optional impact on rules (#2393) (e48c1eb)
- scope-value: add options for valid scope values (#2245) (44269ec)
- standards: add ariaRoles standard (#2328) (70efbc0)
- standards: add dpub-roles spec (#2332) (7ec3185)
- standards: add get-aria-roles-supporting-name-from-content and deprecate aria/get-roles-with-name-from-content (#2363) (240b528)
- standards: add get-elements-by-content-type and implicit-html-roles (#2375) (f1e0848)
- add "ACT" tag for published W3C ACT rules (#2382) (cf11b64)
- standards: add html-elms spec (#2333) (1d6a888)
- standards: create standards object and ariaAttrs (#2315) (48610de)
- utils.getFlattenTree: default to documentElement (#2260) (8b14ccc)
- valid-lang: add option for which attributes to look at (#2240) (ffee19e)
- update SC tags for
labelrule (#2037) (c7113fc)
Bug Fixes
Release 3.5.5
Bug Fixes
- aria-input-field-name: add the missing word must to help metadata (b0f5562)
- color-contrast: fix font-weight calculation for safari (205b587)
- configure: validate rules and checks properties (8c91ead)
- is-visible: return false for opacity: 0 and 0 height scrollable regions (86ada3f)
- listitem: do not fail for parent with role=presentation|none (a3ddc6e)
- meta-viewport: don't throw error if viewport property doesn't have a value (2176794)
Release 3.5.4
Bug Fixes
- get-element-stack: properly calculate position of children of floated elements (28a8c58)
Release 3.5.3
Bug Fixes
- meta-viewport: parse negative and string values for
maximum-scale(#2137) (8c92472) - respondable: ignore reflected messages from iframes (#2134) (3ab9f21)
- header-present: update verbiage to use heading instead of header (#2132) (8890063)
- color-contrast: mark more punctuations for review (#2126) (dc98afc)
- unicode: detect supplementary private use area A (#2102) (f1739c2)
- definition-list: Mention
- td-headers-attr: mark as needs review if headers attr is empty (#2096) (699b566)
- td-has-headers: don't fail for empty headers attribute (#2095) (7952a37)
- th-has-data-cells: fail when data cell points to a different header (#2094) (d3bd416)
- has-lang: update message to indicate that xml:lang is not valid on HTML pages (#2093) (c3a7de2)
- page-no-duplicate-contentinfo: do not fail when first element is inside landmark (#2092) (eca7e05)
Release 3.5.2
Bug Fixes
- aria-allowed-role: allow role=spinbutton on inputtype=tel
- color-contrast: ignore form elements that move text outside of node using text-indent (#2044) (85cc6ab)
- commons: handle node(s) contained by SVG document when de… (#2054) (bf4c9bf)
- getCheckMessage: add API to return check message (#2066) (e216322)
- has-lang: fail check when
xml:langis used in HTML docum… (#2053) (e07aaea) - label-content-name-mismatch: ignore non
widgetaria role(s) & do not use deprecatedlookupTable.rolesOfType(#2022) (89bd84c) - package-lock: change @deque/doT from agora to npm (#2058) (c03c0e5)
- page-has-heading-one: find screen-reader only headings (#2065) (f808a12)
- region: ignore direct child text nodes of body (#2050) (fde31d0)
- skip-link: identify as skip-link only if the link is offscreen (#2079) (241e1d0)
- check
invaildrolefails only when all roles are invalid (#2075) (989b317) - ignore empty, whitespace or undefined
rolefor rule `ari… (#2077) (dbd3c02) - update tags for rule
area-alt(#2051) (7db231f)
Release 3.5.1
Release 3.5.0
Features
- aria-dpub-role-fallback: depreacte aria-dpub-role-fallback and move into aria-allowed-role (#1899) (8e25c20)
- aria-label: deprecate Element arg; use virtualNode (#1922) (d14981c)
- audit: allow runOnly option to accept an array of rules (#1889) (38d6a3f)
- color-contrast: greatly improve performance for very large sites (#1943) (9ea0065)
- core: add preload configuration option for media files (#1958) (8a62649)
- core/reporters/v1: Add failureSummary to incomplete results (#1972) (c88883d)
- get-element-stack: performant api to replace document.elementsFromPoint (#1842) (9ae07fb)
- i18n: add Danish (da-DK) translation (#1876) (fb6fc41)
- landmark-no-duplicate-*: add rule landmark-no-duplicate-main, don't use html as element source for all duplicate rules (#1949) (5ec7894)
- layout-table: deprecate layout-table rule and checks (#1885) (d22cb30)
- matches: use VirtualNode and deprecate HTMLElement (#1988) (2600a06)
- rule: add color-contrast check for unicode characters, behind flags. (#1969) (0cd4037), closes #1906
- rule: identical-links-same-purpose (#1649) (9c73f62)
- rule: no-autoplay-audio (#1946) (b2373cb)
- svg-img-alt: rule for when svg needs a title (#1953) (9491e09)
- deprecate the use doT.js for messages (#1938) (a2ddba3)
Bug Fixes
- color-contrast: properly pass options to check (#2033) (26b99c0)
- commons: avoid unicode regex encoding in axe.min.js (#2024) (ae90dc4)
- add tags with dots for wcag sc (#1849) (2f1ab36)
- compute orientation lock from various transformation func… (#1937) (c987de0)
- ignores axe.ping responses that do not contain axe=true (26cb1fb)
- input[role=button][value='correct'] should pass (#1897) (4635fef)
- remove heading from list of widget roles (#1882) (a8cbf71)
- link-name: test role=link when there is no href (#1921) (6db28bc)
- remove isNaN check (#2010) (5359b3f)
- aria-allowed-attr: allow aria-details (#1956) (79e1c58)
- aria-allowed-role: allow role combobox on input tel, search, url, and email (#1850) (ba75961)
- aria-hidden-focus: mark as needs review if a modal is open (#1995) (28a3553)
- aria-required-children: allow comboboxes with more popup roles (#1950) (35a24c0)
- aria-roles: report error for fallback roles (#1970) (a1b7e08)
- aria-valid-attr-value: mark as needs review for aria-current with invalid value (#1998) (39b8eae)
- axe.d.ts: RunOnly.values should not accept a RunOnlyOption (#1888) (b68aa19)
- build: add lang query parameter to helpUrl when builing with a locale (#1909) (8c5f9ef)
- color-contrast: improve speed and accuracy of code blocks with syntax highlighting (#2003) (1b6ab42)
- color-contrast: mark as needs review for text that contains only non-BMP characters (#2005) (e559be0)
- color-contrast: support IE extension context (#2008) (62e31ea)
- color-contrast: take into account parent opacity for foreground color (#1902) (8719700)
- getElementStack: do not add hidden elements to the stack (#1991) (759d88d)
- is-focusable: use tabindex attribute instead of property (#1912) (042a148)
- is-icon-ligature: ignore whitespace characters (#1908) (7d2b2a6)
- is-ligature-icon: rename canvas to canvasContext (#1880) (de9885d)
- isFocusable: return true for summary element and false for details element with summary child (#1957) (34ec2d7)
- listitem: clarify that li elements must be contained in a list or role=list (#1894) (6d8cfee)
- locales: fix incompeteMessageFallback to be a string rather than an object (#1853) (88677a9)
- meta-viewport: mark as a best-practice rule instead of wcag failure (#1960)...