Criterion class

Criterion class

Verifiable success criteria are provided for each recommendation, so WCAG 2.0 can be applied in areas where compliance testing is required.

https://www.w3.org/WAI/WCAG21/Understanding/understanding-techniques

Inheritance: CriterionRule

The Criterion type exposes the following members:

Properties

PropertyDescription
codeRule code from the quick reference WCAG

https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0
descriptionDescription of Rule from the quick reference WCAG.

https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0
levelCompliance levels: A (lowest), AA and AAA (highest).
sufficient_techniquesThe methods are sufficient to fulfill the success criteria.
advisory_techniquesThe methods are of a recommendatory nature.
failuresFailures are things that cause accessibility barriers and fail specific success criteria.

See Also