Releases: dequelabs/axe-core
Releases · dequelabs/axe-core
Release 3.4.0
Bug Fixes
- aria-allowed-attr: allow 'aria-readonly' on listbox (#1825) (15f5d2d)
- aria-form-field-name-matches: don't test combobox elements when they have a child input (#1742) (f0be6dc)
- aria-required-children: allow combobox to own a searchbox (#1708) (42158ac)
- aria-required-children: allow reviewEmpty nodes to have empty children (#1791) (a5d727c)
- aria-valid-attr-value: fix incomplete translation message (#1739) (a0f3eef)
- color-contrast: ignore nodes that don't contain text (#1837) (223a4bc)
- color-contrast-matches: don't check aria-disabled explicit label element (#1741) (5bb566f)
- configure: use translations for failure summaries (#1808) (5e53d7b)
- flatten-tree: do not call deprecated getDistributedNodes (#1729) (46a5d11)
- form-field-multiple-label: incomplete rather than fail for multiple labels (#1798) (0bdaa2b)
- get-background-color: scroll element into view horizontally (#1845) (50df70a)
- get-selector: don't throw error for disconnected fragment (#1802) (bb6591b)
- label-content-name-mismatch: ignore ligature fonts (#1829) (683e005)
- allows all roles on img tag with no alt attribute (929085a)
- replace incorrect tag for meta-refresh rule (#1844) (754d56b)
- update tags to wcag21aa for rule avoid-inline-spacing (#1757) (973d48f)
- label-content-name-mismatch: ignore private space unicode (#1822) (b634c34)
- scrollable-region-focus: ignore scrollable regions without content (#1788) (b36754e)
- utils: Fix error in IE when getting scroll state on page with SVG elements. Closes #525 (#1820) (9a32f6f)
Features
- audit: add lang query paramenter to help urls (#1794) (2d1c8a6)
- configure: accept ver property as axeVersion fallback (#1812) (4ebcde8)
- configure: add axeVersion property that checks compatibility of axe.version (#1793) (18fb8c8)
- fieldset, group-labelledby: deprecate fieldset and group-labelledby checks (#1740) (ec9b762)
- i18n: add spanish translation (#1758) (e9f821d), closes #1757
- Add axe.utils.assert method (2f10d24)
- is-visible: add support for clip-path techniques (#1706) (8ab262a)
- radiogroup, checkboxgroup: deprecate radiogroup and checkboxgroup rules (#1640) (6d30880)
- Add SerialVirtualNode class (82d01b0)
- pt_BR localization (#1756) (330e2ec)
- rule: aria-roledescription (#1745) (16682fd)
- runVirtualNode: Allow serialised nodes experimental
- video-description: deprecate video-description rule (#1737) (e91c25f)
Release 3.3.2
Bug Fixes
- aria-form-field-name-matches: don't test combobox elements when they have a child input (#1742) (5ac278f)
- aria-valid-attr-value: fix incomplete translation message (#1739) (6909604)
- flatten-tree: do not call deprecated getDistributedNodes (#1729) (48ddf9d)
- update tags to wcag21aa for rule avoid-inline-spacing (#1757) (f534a6b)
Release 3.3.1
Bug Fixes
- aria-form-field-name-matches: don't test combobox elements when they have a child input (#1742) (5ac278f)
- aria-valid-attr-value: fix incomplete translation message (#1739) (6909604)
- flatten-tree: do not call deprecated getDistributedNodes (#1729) (48ddf9d)
- update tags to wcag21aa for rule avoid-inline-spacing (#1757) (f534a6b)
Release v3.3.0
Bug Fixes
- add SC 131 to rule aria hidden focus (#1474) (8da9a0d)
- Add treegrid as allowed parent to rowgroup (#1435) (94e9893), closes #1386
- arguments for gather function in build template (#1605) (753ecf4)
- check if property exists in cache of flattenedTree (#1536) (51c2e19)
- aria-valid-attr-value: allow aria-owns to pass when element is not in the DOM (#1526) (f835ed8)
- deprecate na reporter (#1625) (3e807f0)
- Exclude iframe for html-has-lang rule (Issue 1424) (#1430) (98b5ed2)
- Include body as part of background color checks when element does not intersect (#1520) (55820cf)
- make nullable impact properties have nullable types to match API docs (#1477) (efaed91)
- Only load Promise polyfill if window.Promise is missing [#1468](<#1470>) (1d70306)
- Prevent error when using
<select name="attributes">
[#1397](<#1432>) (b477e0d) - remove unnecessary comments (6ed71c9)
- role=radio should not require aria-checked (#1448) (0643cbd)
- Scroll state had top and left properties flipped (#1469) (2ba83d3)
- skip-link,region: Allow multiple skiplinks at page top (#1496) (642c8f1)
- use execa instead of child_process.spawn (461ce83)
- aria-allowed-attr: allow figure role (#1558) (a4b5240)
- aria-required-attr: allow aria-valuenow to pass on elements with value (#1579) (3893e04)
- aria-required-attr: don't require aria-valuemin/max (#1529) (80ae444)
- aria-valid-attr-value: allow aria-controls to pass when element is not in the DOM (a7842e5)
- flatten-tree: do not call deprecated getDistributedNodes (#1577) (93d59f4)
- image-redundant-alt: prevent redundant issues of image tree (#1616) (af81897)
- isSkipLink: cache first page link (#1525) (6a1bcba)
- matches-selector: don't call matches function if none exist on the element (#1613) (7581592)
- multiple-label: considers explicit labels in the same shadow tree (#1584) (b9a324a)
- multiple-label: no longer raises issue when aria-labelledby overrides how AT views multiple labels (#1538) (fbae36b)
- prettier: ignore generated api doc files (#1522) (c118da0)
- raw-reporter: do not output
DqElement
s (#1513) (3babcb6) - scrollable-region-focusable: exclude overflow:hidden as not scrollable (#1599) (940de07)
- utils: make cache global instead of only setup in axe.run (#1535) (91a04c5)
- virtual-node: fix hasClass to work with svg elements (#1603) (9d83662)
Features
- autocomplete-matches: use virtualNode only lookups (#1604) (b32d4fe)
- autocomplete-valid: allow autocomplete-valid to be run entirely off of a virtual node (#1591) (b3e0873)
- qsa, flatten-tree: abstract Node and Element apis in virtual tree (#1562) (2f2e590)
- reporter: adds the rawEnv reporter which wraps raw and env data (#1556) (ed15ed3)
- role-img-alt: Split rule for role=img with no accessible name (#1586) (2416ed3)
- rule: add additional elements to check for incomplete with required children (#1547) (3726901)
- rule: add more perf timing metrics to rules (#1472) (98646e5)
- rule,check: add new apis to run a rule synchronously (#1467) (84094a1)
- add AbstractVirtualNode for linting (#1627) (a072ed2)
- rule: Adding landmark-is-unique rule (#1394) (0088e94)
- rule: Inline text spacing must be adjustable with custom stylesheets (#1446) (430b07f)
- Improve perf of axe.run WWD-1821 (a84431a)
- rule: New aria-input-field-label rule (#1610) (73d5273)
- rule: New aria-toggle-field-label rule (#1450) (69a9c3b)
- rule: Scrollable region focusable (#1396) (861371a)
- rules: split button name rule into button only and button input rules (#1615) (ce20fbf)
- run-virtual-rule: new api to run rules using only virtual nodes (#1594) (4e12217)
- utils: add support for complex CSS selectors (#1494) (a9f9ee5), closes #1493
- utils: Update CSSOM for nested @import computation (#1339) (a4e177b)
Tests
v3.2.0
Bug Fixes
- aria-allowed-role: Allow iframe role=none (a4fa44d)
- color-contrast: Prevent crash on large inline elments #1306 (#1341) (e1bcafc)
- commons: Allow any node in aria.getRole (#1258) (26fa49a), closes #1163
- i18n: Fix and add Japanese translation (#1368) (74fa0a4, #1291) (f450176, #1332) (0a03c8f, #1107) (8138e55)
- messages: Change messages from "page" to "document" where appropriate (#1156) (49dff2b), closes #983 #983
- rule: Frame-title applies to wcag242 (#1312) (9225ae0)
- rule: Prevent th-has-data-cells from crashing on empty rows (#1285) (88017be)
- typedefs: Do not require brand and application (#1264) (59465dc), closes /github.com/dequelabs/axe-webdriverjs/blob/v2.0.1/lib/axe-injector.js#L28
- Add Banner comment in generated axe files (#1112) (e4788bf)
- Allow div groups for dlitem rule (#1284) (d76cd36)
- Allow role presentation and none on object-alt rule (#1224) (d475a17)
- Avoid IE problems by using nodeName instead of tagName (#1219) (cf86ff5)
- Better unsupported attribute support for aria-roledescription (#1382) (93f721e), closes #1216
- Consider element's accessible names when labels are hidden (#1187) (b91b624), closes #1176
- Correct autocomplete appropriate to handle state terms (#1121) (35a4d11)
- Correct autocomplete street address (#1217) (27fce9d)
- Correct autocomplete-appropriate node type resolution (#1318) (2fc3eeb)
- CSSOM generation for shadowRoot in Safari (#1113) (a51ae03)
- Don't flag invalid roles in unsupportedrole (#1328) (2dfcbaa)
- Escape href attribute when generating a CSS selector [#1137](<#1366>) (0c2f42d)
- Flag hidden elms with disallowed role(s) for review (#1225) (bdff141)
- Handle noscript and template in dom.isVisible (#1257) (e67fc65)
- html-lang-valid should consider xml:lang (#1152) (4279c72)
- Ignore invalid and allow redundant role in aria-allowed-role (#1118) (a0f9b31)
- Introduce dom.isHiddenWithCSS for use in dom.isFocusable (#1211) (2cff417)
- Log instead of error on unknown tag (#1290) (f82d773)
- Prevent TypeErrors in color-contrast checks (#1320) (a34165c), closes #1306 #1259
- Respect preload set to false (#1298) (e847d38)
- Set preload:true as default (#1281) (c9731c8)
- Support skiplinks starting with "/#" (#1286) (f93c0c9)
- Update SC to wcag134 for CSS Orientation Rule (d3f90df)
Features
- commons: Add matches methods (#1270) (986c97a), closes #1163
- image-alt: require alt text or empty strings (#1260) (e24cea9)
- new-rule: New aria-hidden-focus rule (#1166) (4489965)
- new-rule: Separate form-field-multiple-label from label rule (#1226) (0e0063c)
- new-rule: Label and Name from Content mismatch WCAG21 (Issue #1149) (#1335) (a4255da)
- rule: Require unique aria labels in checkboxgroup & radiogroup (#1316) (c9b310d)
- Add a reference to the
node
a rule failed on (#1321) (68741de), closes #1317 - Add allowEmpty option for aria-valid-attr-value (#1154) (89d18d0), closes #994
- Add environment details to results (#1353) (e795f7d)
- ARIA supported checks (#1254) (51a18a8), closes #918
- New rule landmark-complementary-is-top-level (#1239) (328ca2c)
- Pass context argument to rule matches (#1370) (b374669)
- Rebuild the accessible text algorithm (#1163) (5f420e5)
- Tag review-items rule as 'best-practice' (#1344) (05f37de)
Performance Improvements
v3.1.2
v3.1.1
3.0.3
3.0.3 (2018-06-04)
Bug Fixes
- Resolve markdown lint errors. (efdad94) (aa90155)
- Don't require all ARIA IDREFS to exist (#921) (130efed)
- generate unsupported aria roles and attributes. (7315662)
- Make empty role=lisbox elements as incomplete (#927) (87e979f)
- Prevent axe-core crashing on “-“ as a class name (#884) (9c4d84e)
- Right trim URLs before outputting them in getSelector (#924) (4775a23), closes #788
- td-has-heading to ignore td with its role changed (#928) (d68af4c)
- Update tags for frame-title rule (#935) (6436bbf)
- core: Define 'axe-core' as an AMD module (#859) (7b46f63), closes #849 #856 #861 #847 #844 #871 #849 #849
- Update tags to accesskey & link-name rules (#922) (a8e801c)
- rule: Layout-table does not match presentation / none roles (#828) (5651ecc)
- rule: restore labelledBy on unlabeled select (b7bdf66)
- rules: Allow focusable role=application elements (b5de450)
- typescript: Update ElementContext type (#822) (eb09248)
Features
3.0.2
Bug Fixes
- rule: Allow empty aria-labelledby values (#829) (d280c5f)
- Prevent color rules from crashing Chrome 66+ #856 (#861) (147b665)
- respondable: Identify the current axe instance by its application name when it exists (affd75c)
- respondable: Use the hard-coded axe.application name as default (ab4a49f)
- rule: Ignore hashbang URLs for skiplinks (#827) (e1f0c57)
- rule: Tag video-caption only as SC 1.2.2 (87818e7)