Accessibility Check

kogiQA includes a built-in accessibility checker that integrates seamlessly into your UI automation tests. It allows you to audit the current state of your web application for accessibility violations with a single command.

specific usage

Simply add the check command to your test flow:

// Perform the accessibility check on the current page
const checkResult = await browser.checkAccessibility();
console.log(checkResult);

As a result, you will receive a JSON list of suggestions on what to fix.

Reference: For a full list of all rules used, see All ACT Rules.

Key Features

  • Comprehensive Standards Support: Automatically checks against major accessibility standards, including: WCAG 2.0, 2.1, and 2.2 (Levels A, AA and AAA)
  • Detailed Reporting: Returns structured data that is easy to parse programmatically.
  • Precise Location: Identifies exactly which DOM elements caused the violation using specific CSS selectors.
  • Impact Analysis: Categorizes issues by severity (Critical, Serious, Moderate, Minor) to help your team prioritize fixes.
  • Remediation Advice: Provides direct links to dequeuniversity.com with specific instructions on how to resolve the issue.
  • Best Practices: In addition to strict compliance, it checks for common best practices that improve usability for screen reader users.
  • Cross-Platform: The engine runs within the browser context, ensuring results are accurate regardless of the underlying OS or browser rendering engine.