Skip to content

Add AccessLint scan engine#241

Open
kzhou314 wants to merge 5 commits into
mainfrom
accesslint-engine-prototype
Open

Add AccessLint scan engine#241
kzhou314 wants to merge 5 commits into
mainfrom
accesslint-engine-prototype

Conversation

@kzhou314

Copy link
Copy Markdown
Contributor

Closes https://github.com/github/accessibility/issues/10666

Adds AccessLint as a built-in scan engine alongside Axe. Opt in via the scans input, e.g. ["axe", "accesslint"]. With no scans input the default stays axe-only.

Copilot AI review requested due to automatic review settings June 24, 2026 20:27
@kzhou314 kzhou314 requested a review from a team as a code owner June 24, 2026 20:27
GitHub Advanced Security started work on behalf of kzhou314 June 24, 2026 20:27 View session
GitHub Advanced Security finished work on behalf of kzhou314 June 24, 2026 20:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds AccessLint as an additional built-in scan engine in the find GitHub Action, alongside Axe, with selection controlled via the scans input while preserving the default behavior (Axe-only when scans is omitted).

Changes:

  • Introduces an AccessLint scan path (runAccesslintScan) and wires it into findForUrl based on a new scans context flag.
  • Updates scans parsing logic to treat axe and accesslint as core engines and everything else as plugin names.
  • Adds dependencies and test coverage for the new scan engine, plus updates action input documentation.
Show a summary per file
File Description
.github/actions/find/tests/findForUrl.test.ts Adds tests ensuring AccessLint runs when selected and composes with Axe/plugins.
.github/actions/find/src/scansContextProvider.ts Extends scan-selection context to include AccessLint and adjusts plugin detection.
.github/actions/find/src/findForUrl.ts Adds AccessLint scan execution and maps AccessLint violations into findings.
.github/actions/find/package.json Adds @accesslint/playwright and @playwright/test dependencies.
.github/actions/find/package-lock.json Locks new dependencies and updates Playwright resolution.
.github/actions/find/action.yml Documents new core engine behavior for the scans input.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Files not reviewed (1)
  • .github/actions/find/package-lock.json: Generated file
  • Files reviewed: 5/6 changed files
  • Comments generated: 5

Comment thread .github/actions/find/src/scansContextProvider.ts
Comment thread .github/actions/find/src/findForUrl.ts Outdated
Comment thread .github/actions/find/tests/findForUrl.test.ts Outdated
Comment thread .github/actions/find/tests/findForUrl.test.ts Outdated
Comment thread .github/actions/find/tests/findForUrl.test.ts Outdated
GitHub Advanced Security started work on behalf of kzhou314 June 24, 2026 20:40 View session
GitHub Advanced Security finished work on behalf of kzhou314 June 24, 2026 20:40
…nd pass UrlConfig in tests)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
GitHub Advanced Security started work on behalf of kzhou314 June 24, 2026 20:50 View session
@kzhou314 kzhou314 requested a review from JoyceZhu June 24, 2026 20:50
GitHub Advanced Security finished work on behalf of kzhou314 June 24, 2026 20:50
GitHub Advanced Security started work on behalf of kzhou314 June 24, 2026 20:55 View session
GitHub Advanced Security finished work on behalf of kzhou314 June 24, 2026 20:56
GitHub Advanced Security started work on behalf of kzhou314 June 24, 2026 23:08 View session
GitHub Advanced Security finished work on behalf of kzhou314 June 24, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants