Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7da6bec
Phase 1: Adding New Rules
gaganmBrowserStack Dec 8, 2025
bc346a3
Initial merge
gaganmBrowserStack Dec 9, 2025
e78afa3
Phase1.25
gaganmBrowserStack Dec 15, 2025
4480a9a
minor changes
gaganmBrowserStack Dec 16, 2025
dbb5108
Minor changes
gaganmBrowserStack Dec 17, 2025
86f13b9
Minor Changes
gaganmBrowserStack Dec 17, 2025
4d88749
Should change reverted
gaganmBrowserStack Dec 17, 2025
66b6d94
Reverting old changes
gaganmBrowserStack Dec 17, 2025
be6d6ca
Making heading-order & heading-order-bp stable
Aaryan430 Dec 18, 2025
edd8944
Merge pull request #173 from browserstack/AXE-2606-heading-order-stable
Aaryan430 Dec 18, 2025
2a7bdc8
"Ensure" compliance with changes
gaganmBrowserStack Dec 18, 2025
5eebebb
reverting labelContentNameMismatchEvaluate changes it should be in Ph…
gaganmBrowserStack Dec 19, 2025
8ca765f
Resolving PR review comments
gaganmBrowserStack Dec 22, 2025
271dceb
reverting minor change
gaganmBrowserStack Dec 22, 2025
1cca3ae
updating _template.json
gaganmBrowserStack Dec 23, 2025
8ce63e3
minor fix for eslint issue
gaganmBrowserStack Dec 23, 2025
d14e9de
Merge branch 'Upgrade-to-4.11' of https://github.com/browserstack/a11…
gaganmBrowserStack Dec 23, 2025
b45d65a
:robot: Automated formatting fixes
gaganmBrowserStack Dec 23, 2025
8bcbcfb
Merge branch 'release-5.14.0' of https://github.com/browserstack/a11y…
gaganmBrowserStack Dec 23, 2025
b1afcf6
Adding Bucket 1
gaganmBrowserStack Dec 29, 2025
3456640
Adding Bucket 2
gaganmBrowserStack Dec 29, 2025
9740c0a
Adding Bucket 3
gaganmBrowserStack Dec 29, 2025
b447b0c
Package-lock Update
gaganmBrowserStack Dec 29, 2025
76ba588
minor change
gaganmBrowserStack Dec 29, 2025
0c6e26e
syncing imp changes
gaganmBrowserStack Jan 7, 2026
bbded80
syncing imp changes
gaganmBrowserStack Jan 7, 2026
d8fd6fa
Merge branch 'main' of https://github.com/browserstack/a11y-engine-ax…
gaganmBrowserStack Jan 8, 2026
396ccc8
rule-descriptions.md change
gaganmBrowserStack Jan 8, 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
456 changes: 0 additions & 456 deletions .circleci/config.yml

This file was deleted.

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

This file was deleted.

11 changes: 0 additions & 11 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
Loading