Skip to content

Add accesslint to the list of scans in test workflow - #291

Merged
helen merged 2 commits into
mainfrom
add/accesslint-test
Oct 28, 2026
Merged

helen merged 2 commits into
mainfrom
add/accesslint-test

Conversation

@helen

@helen helen commented Oct 27, 2026

Copy link
Copy Markdown
Member

Noticed this while cutting a new release for #260, seems like we should test all of the built-in scans. Might even have caught this earlier.

Copilot AI max review requested due to automatic review settings October 27, 2026 19:39
@helen
helen requested a review from a team as a code owner October 27, 2026 19:39
Comment thread .github/workflows/test.yml Resolved
Comment thread .github/workflows/test.yml Resolved

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.

🟡 Changes recommended

Integration expectations must include AccessLint findings and issue titles so successful scans pass validation and the added scanner is actually tested.

1 open issue
What changed in this PR

Adds AccessLint to the integration workflow to broaden scan-and-file coverage, motivated by the label-creation failure reported in #260.

Changes:

  • Enables accesslint alongside axe and reflow-scan for the test site.
File Description
.github/​workflows/​test.yml Adds AccessLint to the integration scan list.

Review effort: Max

Comment thread .github/workflows/test.yml Resolved
Co-authored-by: helen <906334+helen@users.noreply.github.com>

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.

🟡 Changes recommended

The AccessLint assertion does not check ruleId or html, allowing malformed cached findings and missing rule labels to go unnoticed.

1 open issue
1 resolved since last review

Review effort: Max

const actualWithoutAccesslint = actual.filter(({scannerType}) => scannerType !== 'accesslint')
expect(actualWithoutAccesslint).toHaveLength(expected.length)
expect(actualWithoutAccesslint).toEqual(expect.arrayContaining(expected))
expect(actual.some(({scannerType}) => scannerType === 'accesslint')).toBe(true)
@helen
helen merged commit 31e250a into main Oct 28, 2026
9 checks passed
@helen
helen deleted the add/accesslint-test branch October 28, 2026 19:43
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.

6 participants