Tags: github/accessibility-scanner
Tags
v3.4.1 (#253) ## Summary Cuts the v3.4.1 patch release to fix NPM plugin module resolution introduced in v3.4.0. ## Fix NPM plugins are now installed beside the compiled Find action loader, allowing Node to resolve and import them correctly when the scanner runs from a consumer repository (#252). This fixes the failure encountered when loading: ```yaml scans: | ["axe", {"name": "alt-text-scan", "package": "@github/accessibility-scanner-alt-text-plugin", "version": "1.1.0"}]
Release v3.4.0 (#250) ## Summary Cuts the v3.4.0 minor release by merging the reviewed changes on `main` since immutable release `v3.3.0` into the stable `v3` action branch. ### What's new - **NPM scanner plugins** — object entries in `scans` can install and load allowlisted first-party packages at runtime, including a pinned version ([#242](#242)). - **AccessLint engine** — `accesslint` is available as a built-in alternative or complement to Axe, with comparison and selection guidance ([#241](#241)). - **Alt-text plugin documentation** — documents `@github/accessibility-scanner-alt-text-plugin` and the object `scans` configuration ([#247](#247)). ### Maintenance - Update `ruby/setup-ruby` ([#246](#246), [#248](#248)). - Update `actions/setup-node` and patched `brace-expansion` ([#248](#248), [#249](#249)). ## Upgrade notes This is additive and backward-compatible. Existing workflows using `github/accessibility-scanner@v3` need no configuration changes. Axe remains the default when `scans` is omitted. To pin the currently published alt-text plugin: ```yaml scans: | ["axe", {"name": "alt-text-scan", "package": "@github/accessibility-scanner-alt-text-plugin", "version": "1.0.0"}] ``` Only allowlisted first-party NPM plugins are loaded. Package lifecycle scripts are disabled during installation. ## Validation - `npm run lint` — passed on `main` at `096ac67` - `npm run format:check` — passed - Action unit tests — 81 passed - `.github/actions/find` TypeScript build — passed - Repository `Test` workflow — passed: https://github.com/github/accessibility-scanner/actions/runs/30118540795 - Manual local integration using `@github/accessibility-scanner-alt-text-plugin@1.0.0` with object `scans` syntax — package installed and loaded through the scanner plugin manager; a local page with `alt="image.jpg"` produced the expected `filename-alt-text` finding - Root production dependency audit — 0 vulnerabilities ## Release procedure after approval 1. Merge this PR using a merge commit, preserving the established `main` → `v3` release history. 2. Validate the resulting `v3` commit. 3. Publish immutable GitHub release/tag `v3.4.0` from `v3` and verify `github/accessibility-scanner@v3` and `v3.4.0` contain #242 and the intended release delta.
new release (v3.3.0) (#243) [passed checks](https://github.com/github/accessibility-scorecard/actions/runs/28392441171) Cuts a new minor release to ship features and fixes accumulated in `main` since v3.2.0. This is a minor bump — all changes are additive and backwards-compatible (no inputs/outputs removed or reformatted). ### What's new - **`group_by` input** — consolidate findings into issues by `finding` (default), `rule`, or `rule+url` - **`dry_run` input** — preview what would be filed/closed/reopened without mutating issues or writing the cache - **`file_best_practice_issues` / `file_experimental_issues` inputs** — toggle filing of non-WCAG findings - **Finding categorization** — Axe violations tagged `wcag` / `best-practice` / `experimental`, surfaced in issue bodies and labels - **`wontfix` label support** — closed issues labeled `wontfix` are no longer reopened on re-runs ### Fixes - Reflow-scan messaging reworded and updated to reference WCAG 2.2 - Issue acceptance criteria updated from WCAG 2.1 → 2.2 - `actions/checkout@v6 → v7` across workflows and `gh-cache/*` - Dependency bumps (`@types/node`, `eslint`, `typescript-eslint`, `vitest`, `playwright`, etc.) ### Testing - ✅ Scorecard manual test against `@main` passed — [run #83](https://github.com/github/accessibility-scorecard/actions/runs/28392441171), 3-site matrix (storybook, admin, thehub), exercising `auth_context` + auth-to-github - ✅ Automated Test workflow green on `main` -⚠️ Sandbox-only checks (self-hosted runners, first-run/no-cache, Copilot assignment) were **not** run due to repo access limitations -⚠️ New inputs (`dry_run`, `group_by`, `file_*`, `wontfix`) are covered by unit tests but were not exercised in a live sandbox run closes github/accessibility#10808
v3.1.0 - add the ability to import TS files directly (#203) The plugins system was only able to load plugins via js files. A new feature was added that allows loading via ts files (#187). This PR is to release v3.1.0 (a minor bump because we're adding a new feature - does not break backwards compatability). Last version was 3.0.1.
chore(deps): Bump addressable from 2.8.7 to 2.9.0 in /sites/site-with… …-errors (#186) Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.7 to 2.9.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md">addressable's">https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md">addressable's changelog</a>.</em></p> <blockquote> <h2>Addressable 2.9.0 <!-- raw HTML omitted --></h2> <ul> <li>fixes ReDoS vulnerability in Addressable::Template#match (fixes incomplete remediation in 2.8.10)</li> </ul> <h2>Addressable 2.8.10 <!-- raw HTML omitted --></h2> <ul> <li>fixes ReDoS vulnerability in Addressable::Template#match</li> </ul> <h2>Addressable 2.8.9 <!-- raw HTML omitted --></h2> <ul> <li>Reduce gem size by excluding test files (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a>)</li> <li>No need for bundler as development dependency (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/571">#571</a">https://redirect.github.com/sporkmonger/addressable/issues/571">#571</a>, <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/5fc1d93">5fc1d93</a>)</li">https://github.com/sporkmonger/addressable/commit/5fc1d93">5fc1d93</a>)</li> <li>idna/pure: stop building the useless <code>COMPOSITION_TABLE</code> (removes the <code>Addressable::IDNA::COMPOSITION_TABLE</code> constant) (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/564">#564</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/564">#564</a>)</li> </ul> <p><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a">https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a>: <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/pull/569">sporkmonger/addressable#569</a">https://redirect.github.com/sporkmonger/addressable/pull/569">sporkmonger/addressable#569</a> <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/571">#571</a">https://redirect.github.com/sporkmonger/addressable/issues/571">#571</a>: <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/pull/571">sporkmonger/addressable#571</a">https://redirect.github.com/sporkmonger/addressable/pull/571">sporkmonger/addressable#571</a> <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/564">#564</a">https://redirect.github.com/sporkmonger/addressable/issues/564">#564</a>: <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/pull/564">sporkmonger/addressable#564</a></p">https://redirect.github.com/sporkmonger/addressable/pull/564">sporkmonger/addressable#564</a></p> <h2>Addressable 2.8.8 <!-- raw HTML omitted --></h2> <ul> <li>Replace the <code>unicode.data</code> blob by a ruby constant (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/561">#561</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/561">#561</a>)</li> <li>Allow <code>public_suffix</code> 7 (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/558">#558</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/558">#558</a>)</li> </ul> <p><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/561">#561</a">https://redirect.github.com/sporkmonger/addressable/issues/561">#561</a>: <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/pull/561">sporkmonger/addressable#561</a">https://redirect.github.com/sporkmonger/addressable/pull/561">sporkmonger/addressable#561</a> <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/558">#558</a">https://redirect.github.com/sporkmonger/addressable/issues/558">#558</a>: <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/pull/558">sporkmonger/addressable#558</a></p">https://redirect.github.com/sporkmonger/addressable/pull/558">sporkmonger/addressable#558</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/0c3e8589b23d4402903a9b4e1fdeba4e43c52ca4"><code>0c3e858</code></a">https://github.com/sporkmonger/addressable/commit/0c3e8589b23d4402903a9b4e1fdeba4e43c52ca4"><code>0c3e858</code></a> Revving version and changelog</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/91915c1f7aafa3e2c9f42e2f4e21d948c7a861b8"><code>91915c1</code></a">https://github.com/sporkmonger/addressable/commit/91915c1f7aafa3e2c9f42e2f4e21d948c7a861b8"><code>91915c1</code></a> Fixing additional vulnerable paths</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/a091e39ff02fc321b21dea3a0df585bef2ba3744"><code>a091e39</code></a">https://github.com/sporkmonger/addressable/commit/a091e39ff02fc321b21dea3a0df585bef2ba3744"><code>a091e39</code></a> Add many more adversarial test cases to ensure we don't have any ReDoS regres...</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/463a819665a3b85ce5ce894c90bd7bfa3b9d2e15"><code>463a819</code></a">https://github.com/sporkmonger/addressable/commit/463a819665a3b85ce5ce894c90bd7bfa3b9d2e15"><code>463a819</code></a> Regenerate gemspec on newer rubygems</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/0afcb0b9672bee301e5e96ed850fec05b2fcabb0"><code>0afcb0b</code></a">https://github.com/sporkmonger/addressable/commit/0afcb0b9672bee301e5e96ed850fec05b2fcabb0"><code>0afcb0b</code></a> Improve from O(n^2) to O(n)</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/c87f768f22ab00376ed2f8cb106f59c9d0652d3a"><code>c87f768</code></a">https://github.com/sporkmonger/addressable/commit/c87f768f22ab00376ed2f8cb106f59c9d0652d3a"><code>c87f768</code></a> Fix a ReDoS vulnerability in URI template matching</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/0d7e9b259fb0940d1a85064b04f678a7984409a5"><code>0d7e9b2</code></a">https://github.com/sporkmonger/addressable/commit/0d7e9b259fb0940d1a85064b04f678a7984409a5"><code>0d7e9b2</code></a> Fix links for 2.8.9 in CHANGELOG (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/573">#573</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/573">#573</a>)</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/e2091200b31553f19248eb871f071852409796f8"><code>e209120</code></a">https://github.com/sporkmonger/addressable/commit/e2091200b31553f19248eb871f071852409796f8"><code>e209120</code></a> Update version, gemspec, and CHANGELOG for 2.8.9 (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/572">#572</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/572">#572</a>)</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/387587492b6536748ed12a11c3fdb44a48885f28"><code>3875874</code></a">https://github.com/sporkmonger/addressable/commit/387587492b6536748ed12a11c3fdb44a48885f28"><code>3875874</code></a> Reduce gem size by excluding test files (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a>)</li">https://redirect.github.com/sporkmonger/addressable/issues/569">#569</a>)</li> <li><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/commit/3e57cc6018f94231aabb47fd341acd1b40f1e71a"><code>3e57cc6</code></a">https://github.com/sporkmonger/addressable/commit/3e57cc6018f94231aabb47fd341acd1b40f1e71a"><code>3e57cc6</code></a> CI: back to <code>windows-2022</code> for MRI job</li> <li>Additional commits viewable in <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fgithub%2Faccessibility-scanner%2F%3Ca+href%3D"https://github.com/sporkmonger/addressable/compare/addressable-2.8.7...addressable-2.9.0">compare">https://github.com/sporkmonger/addressable/compare/addressable-2.8.7...addressable-2.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/github/accessibility-scanner/network/alerts). </details>
Merge main into v2 for release (#170) Per the [docs](https://github.com/github/accessibility/blob/main/docs/accessibility-scanner-maintainers-guide.md#publishing-new-versions), we need to make sure v2 is up-to-date so it can have the latest features. > If tests pass, open a PR that merges main into v2 (to ensure v2 always includes the latest 2.x code). Once approved with passing checks, merge. (base: v2 -> compare: main) both tests have passed: - [scorecard](https://github.com/github/accessibility-scorecard/actions/runs/23203836900) - [sandbox](https://github.com/github/accessibility-sandbox/actions/runs/23202066711)
PreviousNext