CLI Commands

Automate local TYPO3 backend scans using the command line interface. Remote frontend crawler scans are started from the AQG backend module and require a valid PRO, Agency or Trial licence.

a11y:scan

The primary command for initiating local accessibility scans. It recursively scans the TYPO3 page tree starting from a defined PID and evaluates TYPO3 content records against the configured ruleset. Remote frontend crawler scans are started from the AQG backend module and require a valid PRO, Agency or Trial licence.

Bash./vendor/bin/typo3 a11y:scan --root-pid=1

Parameter Reference

ParameterDescriptionExample
--root-pidStarting point ID for the crawler in the page tree.--root-pid=12
--depthMaximum recursion depth. 0 scans only the root PID.--depth=3
--siteSite identifier to scan.--site=my-site
--modeScan mode: full or changed-only.--mode=changed-only
--languageLanguage UID to scan.--language=0

Exit Codes

Use exit codes to detect whether the scan finished successfully. Accessibility issues may still exist even when the command exits with code 0.

CodeMeaningAction Recommendation
0Scan completed successfully. Issues may still exist.Review the scan results in TYPO3 or in your logs.
1Scan failed because of a configuration error or exception.Check TYPO3 logs and your command configuration.

CI Integration

For GitHub Actions, GitLab CI, or Jenkins, trigger the command as part of your validation stage and keep the console output or related logs for later review.