Skip to content

AccessibilityComparator

Maciej Laskowski edited this page Mar 14, 2017 · 3 revisions

Accessibility Comparator

! Beta Version
This AET Plugin is currently in a BETA version.

Accessibility Comparator is responsible for processing collected accessibility validation results. It makes use of the html CodeSniffer library.

Module name: accessibility

Resource name: accessibility

Parameters
Parameter Value Description Mandatory
report-level ERROR (default)

WARN

NOTICE
Violations of the ERROR type are only displayed in the report.

Violations of WARN and ERROR types are displayed in the report.

All violation types are displayed in the report.
no
ignore-notice boolean
(default: true)
If the ignore-notice=true test status does not depend on the number of notices.
If ignore-notice=false notices are treated as warnings in calculating the test status. Enforces the report-level = NOTICE.
no
showExcluded boolean
(default: true)
The flag that indicates if excluded issues (see [[Accessibility Data Filter AccessibilityDataFilter]]) should be displayed in the report. By default set to true.
Example Usage
<?xml version="1.0" encoding="UTF-8" ?>
<suite name="test-suite" company="cognifide" project="project">
    <test name="accessibility-test">
        <collect>
            ...
            <accessibility />
            ...
        </collect>
        <compare>
            ...
            <accessibility report-level="WARN" />
            ...
        </compare>
        <urls>
        ...
        </urls>
    </test>
    ...
    <reports>
        ...
    </reports>
</suite>
Clone this wiki locally