Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
013461c
chore: merge master into develop (#4905)
straker Oct 9, 2025
669b60a
docs(projects): add Happo (#4907)
lencioni Oct 13, 2025
5036be8
fix(commons/color): Match browser behavior for out-of-gamut oklch col…
trotzig Oct 13, 2025
fcbbc81
chore: bump actions/setup-node from 5 to 6 (#4923)
dependabot[bot] Nov 3, 2025
81b03ea
chore: bump actions/download-artifact from 5 to 6 (#4922)
dependabot[bot] Nov 3, 2025
5d739b2
chore: bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.0.0 …
dependabot[bot] Nov 3, 2025
4bc4fe7
chore: bump actions/upload-artifact from 4 to 5 (#4920)
dependabot[bot] Nov 3, 2025
f34ccac
chore: bump the npm-low-risk group with 13 updates (#4924)
dependabot[bot] Nov 3, 2025
671de01
test: fix node 6 tests by pinning to sax 1.4.1 in old node versions (…
dbjorge Nov 3, 2025
d0e6d8e
ci(nightly): port testing to github actions (#4918)
Garbee Nov 3, 2025
316967d
fix: replaced luminance threshold constant 0.03928 with 0.04045 (#4934)
AdminAdi Nov 10, 2025
fde5ef9
test: improve reliability on firefox for tests that inject stylesheet…
dbjorge Nov 12, 2025
19b597a
test: fix prototype integration test in dark mode (#4937)
dbjorge Nov 12, 2025
7691bab
ci(tests): port to github actions (#4919)
Garbee Nov 13, 2025
77571f2
fix(rgaa): adjust mapping of aria-hidden-* and valid-lang (#4935)
WilcoFiers Nov 17, 2025
a5d3112
chore: sync generated files (#4942)
github-actions[bot] Nov 17, 2025
311ed06
ci(deploy): move to gha for oidc publishing (#4929)
Garbee Nov 26, 2025
072b664
ci(deploy): setup node internally (#4948)
Garbee Nov 26, 2025
d4f564b
chore: bump actions/checkout from 5 to 6 (#4953)
dependabot[bot] Dec 3, 2025
e997880
ci: remove circle ci config (#4946)
Garbee Dec 3, 2025
d9ffda8
added incomplete message and check for when foreground color cannot b…
chutchins25 Dec 5, 2025
a6ae386
added imcomplete case for when the background color string is not abl…
chutchins25 Dec 5, 2025
0a059a4
code cleanup and handling a case where bgColor may have had a color p…
chutchins25 Dec 5, 2025
7f55cf7
added test case for text-shadow parsing to a color none
chutchins25 Dec 5, 2025
1d8e936
removed some redundant wording in test cases
chutchins25 Dec 5, 2025
cbeac46
added error rethrow for cases when the error was NOT the intended cap…
chutchins25 Dec 8, 2025
08c13eb
Merge branch 'develop' into 4894-color-none-fix
chutchins25 Dec 8, 2025
a5ae188
chore: bump the npm-low-risk group with 8 updates (#4954)
dependabot[bot] Dec 9, 2025
23bd160
chore: update node to 24 (#4960)
Garbee Dec 11, 2025
52618d1
removed 'cause' object from Error object. Now passing colorString via…
chutchins25 Dec 11, 2025
9394709
Merge branch 'develop' into 4894-color-none-fix
chutchins25 Dec 11, 2025
9551ff6
added integration tests around the 3 added handled cases
chutchins25 Dec 11, 2025
50ed174
chore: bump chromedriver from 138.0.5 to 142.0.3 (#4956)
dependabot[bot] Dec 15, 2025
853f043
chore: prevent update to css-selector-parser (#4964)
straker Dec 15, 2025
80e769f
Merge branch 'develop' into 4894-color-none-fix
chutchins25 Dec 16, 2025
8f249fd
fix: color contrast fails for oklch and oklab with none (#4959)
chutchins25 Dec 16, 2025
ccf56cd
chore: remove browser-driver-manager devDep (#4967)
straker Dec 16, 2025
1e10103
chore: bump stefanzweifel/git-auto-commit-action from 7.0.0 to 7.1.0 …
dependabot[bot] Jan 2, 2026
142ec4e
chore: bump actions/upload-artifact from 5.0.0 to 6.0.0 (#4977)
dependabot[bot] Jan 2, 2026
aedf51e
chore: bump actions/download-artifact from 6.0.0 to 7.0.0 (#4978)
dependabot[bot] Jan 2, 2026
1680105
chore: bump the npm-low-risk group across 1 directory with 5 updates …
dependabot[bot] Jan 3, 2026
d4aee16
fix: allow shadow roots in axe.run contexts (#4952)
pomerantsev Jan 6, 2026
1e9a5c3
fix: don't runs rules that select `html` on nested `html` elements (#…
straker Jan 6, 2026
d271788
fix(color-contrast): do not incomplete on textarea (#4968)
straker Jan 6, 2026
c3f5446
fix(valid-lang): update valid-langs for newer language codes (#4966)
straker Jan 6, 2026
0618216
chore(release): 4.11.1
attest-team-ci Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
458 changes: 0 additions & 458 deletions .circleci/config.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .circleci/verify-release.sh

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintignore

This file was deleted.

78 changes: 78 additions & 0 deletions .github/actions/install-deps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: 'Install Dependencies'
description: 'Install OS and Project dependencies'

inputs:
node-version:
description: 'Node.js version to install'
required: false
start-xvfb:
description: 'If provided, this is the display number to run xvfb on. Should be in `:N` format, e.g., `:99`.'
required: false
nightly:
description: 'If true, installs the nightly versions of browsers.'
required: false
outputs:
chrome-path:
description: 'Path to the installed Chrome binary'
value: ${{ steps.setup-chrome.outputs.chrome-path }}
firefox-path:
description: 'Path to the installed Firefox binary'
value: ${{ steps.setup-firefox.outputs.firefox-path }}
chromedriver-path:
description: 'Path to the installed ChromeDriver binary'
value: ${{ steps.setup-chrome.outputs.chromedriver-path }}
chrome-version:
description: 'Version of the installed Chrome binary'
value: ${{ steps.setup-chrome.outputs.chrome-version }}
chromedriver-version:
description: 'Version of the installed ChromeDriver binary'
value: ${{ steps.setup-chrome.outputs.chromedriver-version }}
firefox-version:
description: 'Version of the installed Firefox binary'
value: ${{ steps.setup-firefox.outputs.firefox-version }}

runs:
using: 'composite'
steps:
- name: Setup Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
registry-url: 'https://registry.npmjs.org'
node-version: ${{ inputs.node-version }}
node-version-file: ${{ inputs.node-version == '' && '.nvmrc' || '' }}
cache: npm
- name: Fix Chrome Sandbox Permissions
shell: bash
run: |
sudo chown root:root /opt/google/chrome/chrome-sandbox
sudo chmod 4755 /opt/google/chrome/chrome-sandbox
- name: Install Xvfb
shell: bash
if: ${{ inputs.start-xvfb }}
run: |
sudo apt-get update
sudo apt-get install -y xvfb x11-xserver-utils
- name: Install Google Chrome for Testing
id: setup-chrome
uses: browser-actions/setup-chrome@b94431e051d1c52dcbe9a7092a4f10f827795416 # v2.1.0
with:
chrome-version: ${{ inputs.nightly == 'true' && 'beta' || 'stable' }}
install-chromedriver: true
install-dependencies: true
- name: Install Firefox
id: setup-firefox
uses: browser-actions/setup-firefox@5914774dda97099441f02628f8d46411fcfbd208 # v1.7.0
with:
firefox-version: ${{ inputs.nightly == 'true' && 'latest-nightly' || 'latest' }}
- name: Install Project Dependencies
shell: bash
run: npm ci
- name: Start Xvfb
if: ${{ inputs.start-xvfb }}
env:
DISPLAY: ${{ inputs.start-xvfb }}
shell: bash
# This is the same resolution as what CircleCI used.
# Maintaining it for consistency between the environments
# since something may be resolution dependent.
run: Xvfb "$DISPLAY" -screen 0 1280x1024x24 &
19 changes: 19 additions & 0 deletions .github/bin/determine-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

set -eo pipefail

echo "::group::Determining new prerelease version"

NAME=$(npm pkg get name | tr -d '"')
LATEST_VERSION=$(npm pkg get version | tr -d '"')

SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
NEW_VERSION="$LATEST_VERSION-canary.${SHORT_SHA}"

echo "Latest version in package.json: $LATEST_VERSION"
echo "New prerelease version: $NEW_VERSION"

echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "name=$NAME" >> "$GITHUB_OUTPUT"

echo "::endgroup::"
42 changes: 42 additions & 0 deletions .github/bin/validate-npm-deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env bash

set -eo pipefail

if [ -z "$PACKAGE_NAME" ] || [ -z "$VERSION" ]; then
echo "::error::PACKAGE_NAME and VERSION environment variables must be set."
exit 1
fi

NPM_ROOT_PATH=$(npm root -g)

npm install -g "${PACKAGE_NAME}@${VERSION}" || {
echo "::error::✗ Failed to install package: ${PACKAGE_NAME}@${VERSION}"
exit 1
}

cd "$NPM_ROOT_PATH" || {
echo "::error::✗ Failed to change directory to global npm root: $NPM_ROOT_PATH"
exit 1
}

node -pe "window={}; document={}; require('${PACKAGE_NAME}');" || {
echo "::error::✗ Failed to import CommonJS module for package: ${PACKAGE_NAME}"
exit 1
}

cd "${NPM_ROOT_PATH}/${PACKAGE_NAME}" || {
echo "::error::✗ Failed to change directory to package path: ${NPM_ROOT_PATH}/${PACKAGE_NAME}"
exit 1
}

types=$(node -pe "require('./package.json').types")
if [ "$types" == "undefined" ]
then
types=$(node -pe "require('./package.json').typings")
fi
if [ "$types" != "undefined" ] && [ ! -f "$types" ]
then
echo "::error::The types file is missing"
exit 1;
fi
echo "Types file '$types' is present in the package"
Loading