Releases: dequelabs/axe-core
Releases · dequelabs/axe-core
Release 4.1.2
Release 4.1.1
Release 4.1.0
Features
- new-rule: check that treeitem role has an accessible name (#2615) (5e95153)
- Add aria-dialog-name (#2609) (b0e14b0)
- aria-toggle-field-name: add option role (#2605) (0af0551)
- checks: deprecate role-none and role-presentation for presentational-role (#2503) (cef54a0)
- get-role: add noPresentational option (#2549) (4f39299), closes #1792
- imports: deprecate axios (#2542) (82d43a0)
- label,select-name: allow placeholder to pass label rule, add select-name rule (#2448) (1315f8e)
- new-rule: ARIA links, buttons, menuitems have an accessible name (#2571) (9476a1f)
- new-rule: aria-tooltip-name (#2548) (d00f378)
- new-rule: check that meter role has an accessible name (#2607) (3ca2f04)
- new-rule: check that progressbars have an accessible name (#2555) (dd0b44a)
- presentation-role-conflict: create rule to flag elements with role conflict resolution (#2440) (e4edffc)
- rule-matches: depreacte window-is-top-matches for is-intiator-matches (#2531) (db2be93)
- standards: add superclassRole to ariaRoles (#2600) (a5e9ce0)
- standards: add superclassRole to dpubRoles (#2606) (1b66930)
- utils: deprecate get/set-scroll-state (#2581) (3c4827f)
- valid-langs: deprecate validLangs, add isValidLangs, reduce file size (#2527) (8a699ec)
Bug Fixes
- commons/get-text-element-stack: account for newline characters when text is larger than container (#2631) (3c2429b)
- Update ACT rule tags (#2625) (c640d4f)
- aria-errormessage: allow aria-live="polite" on aria-errormessage target (926b6a8)
- aria-errormessage: allow aria-live=polite on aria-errormessage target (#2597) (0d5cfb1)
- aria-roles: add group to menuitemradio context (#2518) (52b89f1)
- aria-roles: Add WAI-ARIA 1.2 roles (#2544) (635b084), closes #2107 #2107 #2107 #2107
- attr-non-space-content-evaluate: Split no attribute and empty attribute message (#2495) (5f822f4)
- audit: updated axe.reset() to reset branding, application, and tagExcludes. (#2537) (828864b)
- autocomplete-valid: allow type=tel for appropriate cc types (#2575) (ae21713)
- checks/aria: Mark elements missing from aria-errormessage for review (#2550) (8f9a035), closes #2460
- color-contrast: allow small text shadows to serve as text outline (#2627) (432e1f3)
- color-contrast: mark elements with pseudo content as needs review (#2613) (fcdbdbc)
- color-contrast: properly handle scrolling text (#2619) (984e7e2)
- docs/rules: add missing category tags to rules metadata (#2569) (285c442), closes #2554
- explicit-label: work with multiple labels (#2573) (d26f106)
- get-headers: fix for rowspan and colspan (#2545) (3f02d14)
- heading-order: evaluate headings from iframes in DOM order (#2572) (46f6628)
- implilcit-role: use type property instead of attribute to resolve input role (#2547) (35e853d), closes #2514
- link-name: pass landmark content as link text (#2617) (e77992e)
- name-rules: ignore when explicit roles don't require a name (#2629) (52fb138)
- region: allow role=dialog and svg elements outside regions (#2586) (fab58d4)
- region: treat iframes as regions (#2614) (936db81)
- rule: add check node to the check result object (#2608) (b188911)
- scrollable-region-focusalbe: do not fail for combobox pattern (#2601) (ac71a57)
- deprecate aria-form-field-name-matches for no-name-method-matches (#2584) (8be89e3)
- do not allow fallback content for objects (#2525) (486eafe)
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
label
rule (#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:lang
is used in HTML docum… (#2053) (e07aaea) - label-content-name-mismatch: ignore non
widget
aria 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
invaildrole
fails only when all roles are invalid (#2075) (989b317) - ignore empty, whitespace or undefined
role
for rule `ari… (#2077) (dbd3c02) - update tags for rule
area-alt
(#2051) (7db231f)