npm axe-core 4.1.0
Release 4.1.0

latest releases: 4.10.2-canary.b7736de, 4.10.2-canary.d260ea8, 4.10.1-canary.7e9bacf...
4 years ago

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)

Don't miss a new axe-core release

NewReleases is sending notifications on new releases.