Introduction

Documentation for library AxeLibrary.

Keywords

Documentation

Return accessibility test result in Json format. Need to be used after Run Accessibility Tests keyword

Arguments

type

Documentation

Inserts readable accessibility result into log.html based on given type. Need to be used after Run Accessibility Tests keyword

Attribute Description
Type violations, incomplete are two supported values

Arguments

result_file axe_script_url
= None
context
= None
options
= None

Documentation

Executes accessibility tests in current page by injecting axe-core javascript and write results into result_file (json). Return result statisitics

Attribute Description
result_file File to store accessibility test results (.json). Ex: google.json
axe_script_url axe.js file path.
context Defines the scope of the analysis - the part of the DOM that you would like to analyze. This will typically be the document or a specific selector such as class name, ID, selector, etc.
options Set of options that change how axe.run works, including what rules will run. To pass options to specific checks, use axe.configure.

AxeLibrary

image/svg+xml