Skip to main content

How to Scan the Workspace

The Workspace Scan capability allows development teams to run an accessibility audit across all supported source files in an entire project simultaneously, providing a complete overview of project health in Visual Studio Code.

This feature is available to Pro and Enterprise users. Scans automatically evaluate all project files matching supported formats, including:

  • HTML (.html, .htm)
  • React (.jsx, .tsx)
  • Vue (.vue)
  • Angular (.component.ts)
  • Svelte (.svelte)
  • Astro (.astro)
  • Markdown/MDX (.md, .mdx)
  • Template engines (.ejs, .hbs, .njk, .liquid, etc.)

Developers can trigger a workspace-wide audit using any of the following methods in VS Code:

11yInspect Panel Header:

  1. Open the A11yInspect panel from the VS Code Activity Bar.
  2. Select Run the Workspace Scan icon in the panel action bar.

Command Palette:

  1. Press Cmd + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux)
  2. Type A11yInspect: Run Workspace Scan
  3. Press Enter.

Explorer Context Menu:

  1. Right-click the root folder or any sub-folder in the VS Code File Explorer
  2. Select Run Accessibility Check.

Reviewing Workspace Results​

Once the scan is completed, all findings across the project are aggregated in the dedicated A11yInspect sidebar panel:

  • Toggle findings view by Severity (Fail, Validate, Suggestion, Pass) or by File using the a11yinspect.panel.groupBy setting.
  • Each entry displays the total issue count, issue description, and associated WCAG success criterion and level.
  • Clicking any issue in the sidebar tree view opens the file and positions the editor cursor directly at the affected line and column.