Running the Consultant Audit Workbench locally
The Consultant Audit Workbench is the internal GUI for creating and managing accessibility assessments. It is separate from the dashboard. Use the workbench to create assessments, upload artifacts, track progress, and hand off results.
What the workbench does
- Create a new web or native (Android/iOS) accessibility assessment
- Choose crawl settings (web) or upload artifact bundles (native)
- Select a saved auth profile for authenticated flows
- Start, cancel, or monitor an assessment
- Reassess from an existing configuration
- Compare assessments via dashboard diff
- Hand off completed results to the dashboard
Prerequisites
- The A11YSmith monorepo checked out locally
pnpminstalled- Project dependencies installed
- Any environment variables required by your auth profiles available in your shell
Start the workbench
From the repo root:
pnpm install pnpm --filter @a11ysmith/workbench dev The workbench starts on port 4322 by default. Open the local URL shown in the terminal.
Architecture
The workbench comprises three packages:
| Package | Role |
|---|---|
apps/workbench | Astro SSR app providing the consultant-facing GUI |
packages/workbench-server | Framework-agnostic JSON API handler |
packages/run-manager | Run schemas, state machine, persistence, artifact storage, and execution |
Create a web audit
- Open the workbench home page.
- Select New Audit.
- Select the Web platform (selected by default).
- Enter a start URL.
- Enable crawl only if you want multi-page discovery.
- Adjust crawl settings as needed.
- Select a saved auth profile if the target flow requires sign-in.
- Leave sanitization enabled unless you have a specific internal reason to turn it off.
- Click Create and Start Audit.
Create a native artifact audit
- Select New Audit.
- Select the Android or iOS platform.
- Choose the audit mode (artifact only, source only, hybrid, or manual assist).
- Enter target identifiers (screen names, activity names).
- Click Create Draft and Upload Artifacts to create a draft run.
- On the upload page, upload artifact files (view hierarchies, test output, lint output, source files).
- Validate the artifact bundle.
- Start the run once validation passes.
See Native Artifacts for artifact types, upload limits, and validation rules.
Monitor run status
The workbench supports the full run lifecycle: draft, queued, starting, running, completed, completed with warnings, failed, canceled, and partial success.
Use the assessment detail page to:
- Monitor progress
- Review status changes
- Read terminal errors
- Cancel an active assessment
- Open the generated report
Reassess and compare
From a completed assessment, click Reassess to create a new draft with the same configuration. Click Compare in Dashboard to open the diff view between the current assessment and its baseline.
See Reassess and Compare for details on lineage tracking, config preservation, and diff URL generation.
Auth profiles
The workbench supports saved auth profiles for storage state, scripted login, and headers-based authentication. Secret values are resolved from environment variables at runtime.
See Auth Profiles for strategy details, security model, and API reference.
Where local data is stored
| Data | Path |
|---|---|
| Runs | ~/.a11ysmith/runs/ |
| Auth profiles | ~/.a11ysmith/auth-profiles/ |
| Artifacts | ~/.a11ysmith/runs/<run_id>/artifacts/ |
Override the data directory with the A11YSMITH_DATA_DIR environment variable.
Troubleshooting
The run does not start
- Confirm dependencies are installed.
- Confirm the start URL is valid (web) or artifact bundle is validated (native).
- Confirm any selected auth profile still exists.
The assessment fails immediately
- Check the assessment detail page for the terminal error.
- Verify that any required environment variables for the selected auth profile are present.
- For native assessments, check for
ARTIFACT_VALIDATION_FAILEDorARTIFACT_PARSE_FAILEDerror codes.
Findings do not appear in the dashboard
- Confirm the assessment reached a terminal success state.
- Confirm the report was generated and handed off to the dashboard.
- Confirm you opened the JSON-backed dashboard result, not just the assessment detail page.
Native artifact upload fails
- Individual files are limited to 50 MB, total bundle to 200 MB, maximum 50 files.
- Check that artifact types match the platform.
- Ensure
artifact_onlymode includes at least oneview_hierarchyfile.