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
- Defer rules rather than checks (#1308) (80c1c74), closes #1172
- Speed up getNodeFromTree (#1302) (5f834ed)
- Update performanceTimer end mark for rules (#1303) (a28674e), closes #701 #1172