@qavajs/steps-accessibility-ea
Version:
Steps to perform accessibility checks powered by accessibility-checker lib
33 lines (27 loc) • 870 B
Markdown
using accessibility-checker library.
Library can work on top of playwright and webdriverio drivers
```
npm install @qavajs/steps-accessibility-ea
```
```typescript
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']
],
}
```
Lib provides `I perform accessibility check` step that creates axe instance, performs checks and attach html report in base 64 format
```gherkin
Feature: Accessibility
Scenario: perform accessibility check
When I open 'https://qavajs.github.io/' url
And I perform accessibility check
```
qavajs steps to perform accessibility checks