-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [4.9.0](v4.8.4...v4.9.0) (2024-03-25) ### Features - adding the wcag131 tag to the aria-hidden-body rule ([#4349](#4349)) ([dd4c3c3](dd4c3c3)), closes [#4315](#4315) - **checks:** deprecate aria-busy check ([#4356](#4356)) ([be0b555](be0b555)), closes [#4347](#4347) [#4340](#4340) - **color:** add color channel values and luminosity, saturation, clip functions ([#4366](#4366)) ([9e70199](9e70199)), closes [/github.com//pull/4365/files#r1517706612](https://github.com/dequelabs//github.com/dequelabs/axe-core/pull/4365/files/issues/r1517706612) - **i18n:** add Greek Translations ([#3836](#3836)) ([3ea9a48](3ea9a48)) - **i18n:** Add Italian translation ([#4344](#4344)) ([de1baa9](de1baa9)) - **i18n:** Add Simplified Chinese translation ([#4379](#4379)) ([bda7c8d](bda7c8d)) - **i18n:** Add Taiwanese Mandarin translation ([#4299](#4299)) ([c5e11de](c5e11de)) ### Bug Fixes - Add LICENSE-3RD-PARTY.txt file ([#4304](#4304)) ([daa0fe6](daa0fe6)) - add Object.values polyfill for node <=6 ([#4274](#4274)) ([5eb867b](5eb867b)) - **aria-required-children:** avoid confusing aria-busy message in failures ([#4347](#4347)) ([591607d](591607d)), closes [#fail13](https://github.com/dequelabs/axe-core/issues/fail13) [#4340](#4340) - avoid reading element-specific node properties of non-element node types ([#4317](#4317)) ([b853b18](b853b18)), closes [#4316](#4316) [#4316](#4316) - **color-contrast:** handle text that is outside `overflow: hidden` ancestor ([#4357](#4357)) ([bdb7300](bdb7300)), closes [#4253](#4253) - **color-contrast:** support color blend modes hue, saturation, color, luminosity ([#4365](#4365)) ([7ae4761](7ae4761)) - **d.ts:** RawNodesResult issues ([#4229](#4229)) ([d660518](d660518)) - **d.ts:** RunOptions.reporter can be any string ([#4218](#4218)) ([e53f5c5](e53f5c5)) - **i18n:** update Italian translations ([#4377](#4377)) ([4d65d4b](4d65d4b)) - **listitem:** clarify roleNotValid message ([#4374](#4374)) ([0f8a9af](0f8a9af)) - **scrollable-region-focusable:** missing wcag213 tag ([#4201](#4201)) ([0080a72](0080a72)) - **target-size:** always pass 10x targets (avoid perf bottleneck) ([#4376](#4376)) ([be327c4](be327c4)) - **target-size:** do not crash for nodes with many overlapping widgets ([#4373](#4373)) ([1dbea83](1dbea83)), closes [#4359](#4359) [#4359](#4359) [#4360](#4360) - **utils/get-selector:** ignore 'xmlns' attribute when generating a selector ([#4303](#4303)) ([938b411](938b411)) This PR was opened by a robot 🤖 🎉
- Loading branch information
Showing
313 changed files
with
11,957 additions
and
4,531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ defaults: &defaults | |
|
||
unix_box: &unix_box | ||
docker: | ||
- image: cimg/node:16.18-browsers | ||
- image: cimg/node:18.18-browsers | ||
|
||
unix_nightly_box: &unix_nightly_box | ||
docker: | ||
- image: cimg/node:lts-browsers | ||
|
||
orbs: | ||
puppeteer: threetreeslight/[email protected] | ||
browser-tools: circleci/[email protected].4 | ||
browser-tools: circleci/[email protected].8 | ||
|
||
set_npm_auth: &set_npm_auth | ||
run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH | ||
|
@@ -33,9 +33,7 @@ restore_build: &restore_build | |
commands: | ||
browser-tools-job: | ||
steps: | ||
- browser-tools/install-browser-tools: | ||
# TODO: remove when chromedriver downloads are fixed | ||
chrome-version: 116.0.5845.96 | ||
- browser-tools/install-browser-tools | ||
|
||
jobs: | ||
# Fetch and cache dependencies. | ||
|
@@ -243,15 +241,15 @@ jobs: | |
- <<: *restore_dependency_cache_unix | ||
- run: npm run test:rule-help-version | ||
|
||
# Test node API | ||
test_node: | ||
# Test jsdom API | ||
test_jsdom: | ||
<<: *defaults | ||
<<: *unix_box | ||
steps: | ||
- checkout | ||
- <<: *restore_dependency_cache_unix | ||
- <<: *restore_build | ||
- run: npm run test:node | ||
- run: npm run test:jsdom | ||
|
||
# Release a "next" version | ||
next_release: | ||
|
@@ -363,7 +361,7 @@ workflows: | |
- test_rule_help_version: | ||
requires: | ||
- build_unix | ||
- test_node: | ||
- test_jsdom: | ||
requires: | ||
- build_unix | ||
# Verify the sri history is correct | ||
|
@@ -388,7 +386,7 @@ workflows: | |
- test_virtual_rules | ||
- build_api_docs | ||
- test_rule_help_version | ||
- test_node | ||
- test_jsdom | ||
- verify_sri | ||
filters: | ||
branches: | ||
|
@@ -406,7 +404,7 @@ workflows: | |
- test_virtual_rules | ||
- build_api_docs | ||
- test_rule_help_version | ||
- test_node | ||
- test_jsdom | ||
filters: | ||
branches: | ||
only: develop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' | ||
open-pull-requests-limit: 10 | ||
commit-message: | ||
prefix: 'chore' | ||
groups: | ||
# Any updates not caught by the group config will get individual PRs | ||
gha-low-risk: | ||
update-types: | ||
- 'minor' | ||
- 'patch' | ||
|
||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' | ||
open-pull-requests-limit: 10 | ||
commit-message: | ||
prefix: 'chore' | ||
ignore: | ||
# Prevent updates to ESM-only versions | ||
- dependency-name: 'chalk' | ||
versions: ['>=5.0.0'] | ||
- dependency-name: 'execa' | ||
versions: ['>=6.0.0'] | ||
- dependency-name: 'inquirer' | ||
versions: ['>=9.0.0'] | ||
- dependency-name: 'chai' | ||
versions: ['>=5.0.0'] | ||
# Prevent Webpack error caused by v0.11+ of esbuild | ||
# @see https://github.com/dequelabs/axe-core/issues/3771 | ||
- dependency-name: 'esbuild' | ||
versions: ['>=0.11.0'] | ||
groups: | ||
# Any updates not caught by the group config will get individual PRs | ||
npm-low-risk: | ||
update-types: | ||
- 'minor' | ||
- 'patch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build | ||
# v4 download seems to have some flakiness with the download of artifacts so pinning to v3 for now | ||
# @see https://github.com/actions/download-artifact/issues/249 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: axe-core | ||
path: axe.js | ||
retention-days: 1 | ||
|
||
test_node: | ||
strategy: | ||
matrix: | ||
node: [6, 18, 20] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node}} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: axe-core | ||
- run: npm run test:node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx grunt configure | ||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules/ | ||
doc/api | ||
doc/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "axe-core", | ||
"version": "4.8.4", | ||
"version": "4.9.0", | ||
"deprecated": true, | ||
"contributors": [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.