web-scanning

Automate web accessibility scans and page inventories using axe-core CLI.

41|42|Updated Apr 6, 2021
One-click install
npx skills add https://github.com/gc-da11yn/gc-da11yn.github.io --skill web-scanning-gc-da11yn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-scanning
Source: https://github.com/gc-da11yn/gc-da11yn.github.io/tree/main/.github/skills/web-scanning
Command: npx skills add https://github.com/gc-da11yn/gc-da11yn.github.io --skill web-scanning-gc-da11yn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @axe-core/cli, node, chrome, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of web content discovery, URL crawling, and page inventory for accessibility audits, saving time and improving efficiency in the assessment of digital accessibility.

Core Features & Use Cases

  • Web Content Discovery: Crawl websites to discover all accessible web pages.
  • URL Crawling: Scans and analyzes individual URLs to ensure compliance with accessibility standards.
  • Page Inventory: Build comprehensive inventories of web pages for large-scale audits.
  • Use Case: Ideal for web accessibility teams needing to conduct regular audits or for developers ensuring their websites meet accessibility requirements.

Quick Start

Perform a full accessibility scan of a website starting at 'https://example.com' and save the results to 'accessibility-audit.json'.

Frequently Asked Questions about web-scanning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate web accessibility scanning for a multi-page website audit?

Automate web accessibility scanning by crawling websites to build a page inventory and running axe-core CLI scripts to analyze URLs for compliance. This process discovers all accessible web pages and generates audit results saved to a JSON file.

What do I need to run automated accessibility audits using axe-core?

To run automated accessibility audits using axe-core, you need Node.js, the @axe-core/cli package, and Chrome or Playwright installed. These dependencies enable the scanning scripts to execute runtime scans on target URLs.

Can I use this approach to perform runtime scans for accessibility compliance?

Yes, you can perform runtime scans for accessibility compliance using the axe-core CLI and custom scripts. This method evaluates rendered web content in Chrome or Playwright to identify accessibility issues during code reviews or audits.

What is the best way to build a page inventory for large-scale website audits?

The best way to build a page inventory for large-scale website audits is to crawl the target site starting from a root URL. This web content discovery process maps all accessible pages, creating a comprehensive inventory for subsequent accessibility scanning.

Does URL crawling for accessibility audits work with single-page applications?

URL crawling for accessibility audits supports web-based scenarios and runtime scans using Chrome or Playwright. While it maps accessible pages, complex single-page applications may require specific runtime scan configurations to fully capture dynamic content.

How do I save accessibility audit results when scanning web content?

To save accessibility audit results when scanning web content, execute the scanning scripts and direct the output to a file. The automated scanning process generates compliance data that can be saved directly to an accessibility-audit JSON file.