Skip to content

Releases: dequelabs/axe-core

3.0.0

20 Mar 16:16
Compare
Choose a tag to compare

Bug Fixes

  • Allow exclusion of Shadow DOM content (cc66eb2)
  • Avoid flatTree memory leak (a902e80)
  • main-is-top-level: Rename check to landmark-is-top-level for greater reuse (b405af1)
  • Avoid timing issue with axe cleanup method (24ea6a7)
  • correct misnamed check (1e709e0)
  • Correct runOnly object for TypeScript definition (571e984)
  • has-at-least-one-main: Rename check to page-has-main, for reusability (9a9c283)
  • has-no-more-than-one-main: Rename check to page-no-duplicate for better reuse (e75324b)
  • region: Ignore forms without accessible name as landmarks (8ad2718)
  • rule: skip-link rule doesn't decode URI encoded href's (818b5cd)
  • Ensure all rules have a category tag (d61e67d)
  • make getSelector work with URIs that cannot be shortened (a113555)

Features

  • Make aria-level required with role=heading #740 (64b743f)
  • aria: allow DPUB ARIA roles (70b48f6)
  • frame-tested: Use this new rule to test if all frames are available, instead of axe.log (83cd17d)
  • landmark-contentinfo-is-top-level: add rule ensuring top level contentinfo (5692e7d)
  • landmark-no-more-than-one-banner: add rule ensuring no more than one banner (6617800)
  • landmark-no-more-than-one-contentinfo: add rule ensuring no more than one contentinfo (82217ef)
  • page-has-heading-one: Added new best-practice rule (cb8f261)
  • rules: add new rule aria-dpub-role-fallback (9470c02)
  • Make options.runOnly more forgiving about plurality (fa81f9d)
  • Translated all 3.0 rules to Japanese (3862e7e)

BREAKING CHANGES

  • Incorrect use of runOnly now throws errors
  • main-is-top-level: The check main-is-top-level is no longer available
  • has-at-least-one-main: Original has-at-least-one-main check is no longer available

3.0.0-beta.3

08 Mar 09:15
Compare
Choose a tag to compare
3.0.0-beta.3 Pre-release
Pre-release

Bug Fixes

  • Correct runOnly object for TypeScript definition (571e984)
  • has-at-least-one-main: Rename check to page-has-main, for reusability (9a9c283)
  • has-no-more-than-one-main: Rename check to page-no-duplicate for better reuse (e75324b)
  • main-is-top-level: Rename check to landmark-is-top-level for greater reuse (b405af1)
  • region: Ignore forms without accessible name as landmarks (8ad2718)

Features

  • aria-required-attr: Make aria-level required with role=heading #740 (64b743f)
  • aria: allow DPUB ARIA roles (70b48f6)
  • frame-tested: Use this new rule to test if all frames are available, instead of axe.log (83cd17d)
  • landmark-contentinfo-is-top-level: Add rule ensuring top level contentinfo (5692e7d)
  • landmark-no-more-than-one-banner: Add rule ensuring no more than one banner (6617800)
  • landmark-no-more-than-one-contentinfo: Add rule ensuring no more than one contentinfo (82217ef)
  • page-has-heading-one: Added new best-practice rule (cb8f261)
  • rules: Add new rule aria-dpub-role-fallback (9470c02)

BREAKING CHANGES

  • main-is-top-level: The check main-is-top-level is no longer available
  • has-at-least-one-main: Original has-at-least-one-main check is no longer available

3.0.0-beta.2

01 Mar 17:03
Compare
Choose a tag to compare
3.0.0-beta.2 Pre-release
Pre-release

Bug Fixes

  • perf: Improve getSelector performance (737c81c)
  • Delete Selenium example, use grunt-axe-selenium instead (063e701)

Features

3.0.0-beta.1

19 Feb 18:39
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release

Bug Fixes

  • audio-caption: Change tag wcag122 to wcag121 #686 (#721) (9c7b9f1)
  • empty-heading: Skip headings with the role changed #645 (#722) (80ef961)
  • image-alt: Exclude svg[role="img"] elements (#683) (0fe74d8)
  • label: Prevent label rule from crashing on input without type #678 (#730) (4498680)
  • perf: improve select performance fixes #702 (3274919)
  • perf: memoize axe.utils.select (c9cd122)
  • perf: normalize all selectors for better cache utilization (189c165)
  • perf: remove need for node sorting from select completely (7677a6a)
  • performance: significantly improve the performance of the dom.findUp utility fixes #696 (9197e03)
  • add shadow dom coverage to all checks (0e48413), closes #690
  • bug-705: cleanupPlugins() should not throw exception when no arguments are provided (#709) (fb1d2f7)
  • Remove axe.a11yCheck() (88d039f)
  • use virtual methods where applicable (6ddc4e5)
  • type-checking: Improve typescript axe.run call signature (#707) (de45ee3)

Performance Improvements

  • Add performance metrics in Rule.runChecks (#701) (27fdc2f)

3.0.0-alpha.9

18 Jan 13:18
Compare
Choose a tag to compare
3.0.0-alpha.9 Pre-release
Pre-release

Bug Fixes

  • aria-errormessage: adds support for aria-errormessage (#517) (c96f58c)
  • check: fix bug with async checks (441ca95)
  • color-contrast: allow disabled label children (db26bc9)
  • color-contrast: incl. elements w/ line breaks (a464918)
  • commons/aria: allow aria-required on checkbox role (3e21c6e)
  • adjust color algorithm for inline elements (7f8491e)
  • Allow checkbox and radio groups with hidden aria-labelledby targets #188 (6149bde)
  • Ensure overloaded Array.prototype won't crash axe (ea57ef2)
  • handle contrast of multiline inline el's (f9d565f)
  • Polyfills are made non-enumerable #648. (#649) (48d8703)
  • Remove href-no-hash rule (342cb6e)
  • Return inapplicable results (#473). (c9caeff)
  • Several of fixes for IE and Edge (#577) (63e1272)
  • skip-link rule now checks if a target exists (f7f9cf3)
  • commons/aria: allow aria-required on radio role (58b76a6)
  • commons/dom: fix isFocusable functions by checking screenreader (#658) (c665d0b), closes #647
  • core/utils/querySelectorAll: Ensure that elements do not get tested twice (#666) (a76a454)
  • required-children: add combobox > listbox exception (#559) (8d0991f)
  • rules/region: Treat <section> as a landmark if it has an accessible name #640 (#642) (c11b442)

Features

  • Add rule, landmark-main-is-top-level (#462) (63040bd)
  • collect-results-from-frames: add frameWaitTime option (#661) (8016ad1)
  • landmark-one-main: add rule ensuring one main landmark in document (#498) (dfc6069)
  • reporter: return one result of each type instead of zero when resultTypes is used (#604) (216a83b), closes #603
  • rule: Flag div/p/spans/headings in focus order (ce5f3dc), closes #632
  • allow options in aria-allowed-attr, aria-required-attr (#673) (61ac303)
  • Enable all rules by default (18263eb)
  • Improve generated selectors for namespaced elements in XHTML (#582) (9e3ca45), closes #563

BREAKING CHANGES

  • Skip-link rule no longer requires skip lins with a focusable target.

2.6.1

28 Dec 18:20
Compare
Choose a tag to compare

Bug Fixes

  • Remove a console.log statement

2.6.0

19 Dec 12:20
Compare
Choose a tag to compare

Bug Fixes

  • Added message about expected contrast ratio (#381) (#562) (a34c023)
  • color contrast misc (#639) Closes #607, #556 (7cb0325)
  • copy precommit hook as file, not a link (b3bf3d4)
  • aria-allowed-attr: align rowcount, colcount, and colindex with 1.1 spec (#555) (320ef55)
  • Ensure overloaded Array.prototype won't crash axe (8086a67)
  • check: fix bug with async checks (34bc4f8)
  • commons/aria: allow aria-required on checkbox role (0d7a9a1)
  • commons/aria: allow aria-required on radio role (31e9f4c)
  • helpUrl: Properly parse x.0 versions (#550) (6457ba4)
  • postinstall: use node, more conditionals (#520) (54f7ddd)
  • rule/dlitem: use a case-insenstive tagName test (#652) (e67a913), closes #581
  • rules/region: Treat <section> as a landmark if it has an accessible name #640 (#642) (0131458)
  • Polyfills are made non-enumerable #648. (#649) (1ab4629)
  • Return inapplicable results (#473). (0a2a5cc)
  • try telling circle to skip .git/hooks (3b88acd)
  • update main rules/tests for 2x branch (b128e92)

Features

  • landmark-one-main: add rule ensuring one main landmark in document (#498) (ff0a1b8)
  • add precommit hook on npm postinstall (122c475)
  • Add rule, landmark-main-is-top-level (#462) (f007b47)
  • Improve generated selectors for namespaced elements in XHTML (#582) (dbe63eb), closes #563
  • docs: rename aria._lut, add to developer guide

2.5.0

06 Nov 19:53
Compare
Choose a tag to compare

Bug Fixes

  • aria-errormessage: adds support for aria-errormessage (#517) (465d41d)
  • adjust aria-errormessage for the 2x branch (19232e5)
  • Merge options.resultTypes (7b28c22)
  • Merge required-children.js fix into v2 (86b4a0e)

Features

  • reporter: return one result of each type instead of zero when resultTypes is used (#606) (482374f), closes #605

v3.0.0-alpha.8

21 Oct 12:41
Compare
Choose a tag to compare
v3.0.0-alpha.8 Pre-release
Pre-release

Bug Fixes

  • aria-allowed-attr: align rowcount, colcount, and colindex with 1.1 spec (#555) (10efa88)
  • required-children: add combobox > listbox exception (#559) (8d0991f)
  • Added message about expected contrast ratio (#381) (#562) (9e30d64)

Performance Improvements

  • reporter: add option to limit result types to be processed (#568) (42b46d9), closes #512

3.0.0-alpha.6

05 Oct 20:32
Compare
Choose a tag to compare
3.0.0-alpha.6 Pre-release
Pre-release

Bug Fixes

  • aria: adding support for aria-expanded in menuitem (#521) (b30b451)
  • color-contrast: Include THEAD and TBODY in contrast checks (#514) (f98f8bd)
  • Match prerelease versions for helpUrl (#546) (5300577)
  • helpUrl: Properly parse x.0 versions (#550) (a51c5ce)
  • postinstall: use node, more conditionals (#520) (f5b5299)
  • responsible: Restrict error construction to known errors (0128a7e)