JSPM

@qavajs/steps-accessibility-ea

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q37458F
  • License MIT

Steps to perform accessibility checks powered by accessibility-checker lib

Package Exports

  • @qavajs/steps-accessibility-ea
  • @qavajs/steps-accessibility-ea/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@qavajs/steps-accessibility-ea) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@qavajs/steps-accessibility

qavajs steps to perform accessibility checks using accessibility-checker library. Library can work on top of playwright and webdriverio drivers

Installation

npm install @qavajs/steps-accessibility-ea

Configuration

export default {
    require: [
        'node_modules/@qavajs/steps-wdio/index.js', //corresponding driver library should be imported first
        'node_modules/@qavajs/steps-accessibility-ea/index.js'
    ],
    format: [
        ['@qavajs/html-formatter','report.html']
    ],
}

Usage

Lib provides I perform accessibility check step that creates axe instance, performs checks and attach html report in base 64 format

Feature: Accessibility

  Scenario: perform accessibility check
    When I open 'https://qavajs.github.io/' url
    And I perform accessibility check