Posted June 04, 2025 by Lachie1999
Here are several common and advanced scenarios with pre-configured settings for the Accessibility Scanner. These examples demonstrate how to combine different options to achieve specific testing goals.
--url="<a href="<a href="https://example.com/your-target-page">https://example.com/your-target-page</a>"><a href="https://example.com/your-target-page</a>">https://example.com/your-target-page</a></a>" --scanOnlyUrlsQuery="<a href="<a href="https://example.com/your-target-page">https://example.com/your-target-page</a>"><a href="https://example.com/your-target-page</a>">https://example.com/your-target-page</a></a>" --scanAllViewports=true --generateTickets=true --elementRef=true --scanIframes=true --navigationTimeout=120000 --axeTimeout=60000 --retryAttempts=4 --enableScreenshots=true --screenshotMode=perInstance
--url="<a href="<a href="https://example.com/your-target-page">https://example.com/your-target-page</a>"><a href="https://example.com/your-target-page</a>">https://example.com/your-target-page</a></a>" --scanOnlyUrlsQuery="<a href="<a href="https://example.com/your-target-page">https://example.com/your-target-page</a>"><a href="https://example.com/your-target-page</a>">https://example.com/your-target-page</a></a>" --vpWidth=375 --vpHeight=667 --axeTags=wcag22a --parallelScanning=true --scanConcurrency=8 --navigationTimeout=20000 --axeTimeout=15000 --retryAttempts=1 --enableScreenshots=false
--url="<a href="<a href="https://example.com">https://example.com</a>"><a href="https://example.com</a>">https://example.com</a></a>" --vpWidth=1280 --vpHeight=800 --maxDepth=2 --maxCrawlSize=50 --axeTags=wcag22a,wcag22aa --enableScreenshots=true --screenshotMode=perType --respectRobots=true
--url="<a href="<a href="https://example.com">https://example.com</a>"><a href="https://example.com</a>">https://example.com</a></a>" --sitemapUrl="<a href="<a href="https://example.com/sitemap.xml">https://example.com/sitemap.xml</a>"><a href="https://example.com/sitemap.xml</a>">https://example.com/sitemap.xml</a></a>" --vpWidth=1280 --vpHeight=800 --generateTickets=true --axeTags=wcag22a,wcag22aa --respectRobots=true --parallelScanning=true --scanConcurrency=4 --navigationTimeout=60000 --axeTimeout=30000 --checkPdfs=true --enableScreenshots=true --screenshotMode=perType
--url="<a href="<a href="https://example.com/tricky-site">https://example.com/tricky-site</a>"><a href="https://example.com/tricky-site</a>">https://example.com/tricky-site</a></a>" --vpWidth=1920 --vpHeight=1080 --maxDepth=1 --crawlDelay=2500 --enableAdaptiveDelay=true --maxCrawlSize=25 --enhancedStealth=true --respectRobots=true --navigationTimeout=120000 --axeTimeout=60000 --retryAttempts=5 --retryInitialDelay=5000 --retryBotBlockMultiplier=5 --customStealthUserAgents="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0 ;; Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" --disableGpu=false --enableScreenshots=true --screenshotMode=perType
--url="<a href="<a href="https://spa.example.com">https://spa.example.com</a>"><a href="https://spa.example.com</a>">https://spa.example.com</a></a>" --scanOnlyUrlsQuery="<a href="<a href="https://spa.example.com">https://spa.example.com</a>"><a href="https://spa.example.com</a>">https://spa.example.com</a></a>" --vpWidth=1920 --vpHeight=1080 --axeTags=wcag22a,wcag22aa,best-practice --waitType=selector --waitValue="#main-app-container.loaded" --waitSelectorTimeout=45000 --navigationTimeout=90000 --axeTimeout=60000 --enableScreenshots=true --screenshotMode=perInstance --generateTickets=true
--url="<a href="<a href="https://internal-app.example.com">https://internal-app.example.com</a>"><a href="https://internal-app.example.com</a>">https://internal-app.example.com</a></a>" --scanAllViewports=true --maxDepth=5 --maxCrawlSize=1000 --axeTags=wcag2a,wcag21a,wcag22a,wcag2aa,wcag21aa,wcag22aa,best-practice --elementRef=true --scanIframes=true --checkPdfs=true --generateTickets=true --enableScreenshots=true --screenshotMode=perInstance --parallelCrawling=true --concurrency=4 --parallelScanning=true --scanConcurrency=4 --respectRobots=false
--url="<a href="<a href="https://dev.example.com/critical-feature">https://dev.example.com/critical-feature</a>"><a href="https://dev.example.com/critical-feature</a>">https://dev.example.com/critical-feature</a></a>" --scanOnlyUrlsQuery="<a href="<a href="https://dev.example.com/critical-feature/page1">https://dev.example.com/critical-feature/page1</a>"><a href="https://dev.example.com/critical-feature/page1</a>">https://dev.example.com/critical-feature/page1</a></a> ;; <a href="<a href="https://dev.example.com/critical-feature/page2">https://dev.example.com/critical-feature/page2</a>"><a href="https://dev.example.com/critical-feature/page2</a>">https://dev.example.com/critical-feature/page2</a></a> ;; <a href="<a href="https://dev.example.com/homepage-template">https://dev.example.com/homepage-template</a>"><a href="https://dev.example.com/homepage-template</a>">https://dev.example.com/homepage-template</a></a>" --vpWidth=1280 --vpHeight=800 --axeTags=wcag22aa --enableScreenshots=false --checkPdfs=false --navigationTimeout=45000 --axeTimeout=30000 --retryAttempts=2 --parallelScanning=true --scanConcurrency=4