Conversation
Adds an <img> without alt and a <button> with no accessible name to exercise the audit-pr.yml regression check end-to-end: - audit-dev.yml (multi-URL on localhost:3000) should source-map both violations to dashboards/app/page.js — agent or human can fix at the exact line. - audit-pr.yml (Netlify preview, regression mode) should report 2 NEW violations relative to production. The build will fail when fail-on trips on critical (img-alt + button-name are both critical). - Inline PR-line annotations should appear on the new lines because they're within the diff range. Will revert (close PR) once verified — this is purely a demo.
❌ Deploy Preview for accesslint-test-fixtures failed.
|
AccessLint audit — 2 URLs194 violations across 2 URLs: 🟥 14 critical, 🟧 171 serious, 🟨 6 moderate, 🟦 3 minor. http://localhost:3000/12 violations: 🟥 2 critical, 🟧 7 serious, 🟨 2 moderate, 🟦 1 minor. dashboards/app/page.js — 2 violations (2 critical)
dashboards/components/BuildTimesDashboard.js — 9 violations (7 serious, 1 moderate, 1 minor)
dashboards/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js — 1 violation (1 moderate)
http://localhost:3000/broken182 violations: 🟥 12 critical, 🟧 164 serious, 🟨 4 moderate, 🟦 2 minor. dashboards/components/BuildTimesDashboardBroken.js — 181 violations (12 critical, 164 serious, 3 moderate, 2 minor)
dashboards/node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js — 1 violation (1 moderate)
Generated 2026-04-27T00:50:47.504Z · run log · |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Demo PR — exercises every layer of the AccessLint pipeline end-to-end.
This PR adds two clear new accessibility violations to
dashboards/app/page.js:<img src="/logo512.png" />— noaltattribute (critical,text-alternatives/img-alt)<button onClick={…}></button>— no accessible name (critical,labels-and-names/button-name)Both are net-new vs. production, so the regression check should fire.
Expected outcomes
audit-dev.yml(localhost dev server, multi-URL)dashboards/app/page.js:9and:10. Inline::warning::annotations on those lines in the "Files changed" tab.audit-pr.yml(Netlify preview, regression mode)audit-dev.ymldoesn't setfail-on, so green.audit-pr.ymldoesn't setfail-oneither, so green — the new violations are visible without forcing a hard gate.After verification
This branch will be closed and the changes reverted. Pure demo of the v0.3.x pipeline.