This release will not impact the number of violations returns.
Bug Fixes
d.ts: add optional include to ContextObject (#3830) (36ed242)
Release 4.6.0
This release adds requirements introduced in WAI-ARIA 1.2, which can result in new issues. The color contrast rule has been improved which should reduce the number of incomplete (aka "needs review") results.
Lastly, this release adds the ability to include or exclude elements inside shadow DOM trees from a test run. See [dom selection] for details.
Features
aria-required-attr: require aria-controls on combobox and aria-valuenow on focusable separator (#3786) (5259e88)
checks/label-content-name-mismatch: deprecate occuranceThreshold option in favor of occurrenceThreshold to fix typo (#3782) (5026d65)
commons: deprecate flattenShadowColors in favor of flattenColors (#3792) (af49daf)
context: allow selecting shadow DOM nodes (#3798) (9e1e31b)
list,listitem: do not allow group as allowed parent or child (#3784) (d1cbf6f)
required-attr: require aria-checked for checkbox-like and radio-like roles (#3785) (563e4e9)
utils: new shadowSelectAll utility (#3796) (5865462)
Bug Fixes
aria-allowed-role: allow combobox on button, checkbox and combobox on input[type=button] (#3354) (ac688c0), closes #3353
aria-required-children: allow menu as child of menu (#3820) (a6569e5)
color-contrast: correctly calculate background color of text nodes with different size than their container (#3703) (123b83c)
get-role: handle presentation role inheritance for vnodes with no parent (#3801) (b971caf)
html-lang-valid: only run rule when attribute has value (#3663) (1a7eecb), closes #3624
metadata: Map aria-required-children to ACT rule bc4a75 (#3790) (a33a523)
Release 4.5.2
This release can result in fewer issues reported on link-in-text-block and aria-required-children. This release addresses an issue where color-contrast and target-size violations were not reported after the page was scrolled.
Bug Fixes
aria-required-children: allow menu and menubar to be empty (#3770) (d11aed8)
create-grid: include elements scrolled out of view in the grid (#3773) (a563263)
link-in-text-block: don't match style or script text (#3775) (ab877f9)
prevent undefined relatedNodes from halting axe (#3778) (efefb18)
Release 4.5.1
This release does not change results of axe-core. It resolves a problem where axe had gotten unnecessarily picky about which order things need to be loaded in in some test environments.
Bug Fixes
allow axe to run in certain configurations of jsdom (#3755) (b74c5d4)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps axe-core from 4.0.2 to 4.6.1.
Release notes
Sourced from axe-core's releases.
... (truncated)
Changelog
Sourced from axe-core's changelog.
... (truncated)
Commits
3600bcb
Merge pull request #3831 from dequelabs/release-2022-12-14ab3ce2a
chore(release): 4.6.136ed242
fix(d.ts): add optional include to ContextObject (#3830)bb4ad21
Merge pull request #3825 from dequelabs/master3cc392a
chore: update pr tempalte to use closes syntax (#3826)9ee162e
Revert "ci: bump cimg/go image (#3816)" (#3828)54eb9be
Merge pull request #3824 from dequelabs/release-2022-12-12d4b53cc
chore(release): 4.6.0a6569e5
fix(aria-required-children): allow menu as child of menu (#3820)07a5dad
ci: fix the release script fix (#3822)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)