Skip to content

Reference

phil/accessibility-statement
TypeRole
StatementOne version of a statement: target, status, feedback, non-conformities, alternatives, scope, enforcement, evaluation, organisation; blocking(), withReason(), lastEvaluatedAt(), toArray().
StatementReaderReads a statement from plain data or JSON, every key checked.
StatementGeneratorWrites the next version from the current one and an audit.
ConformanceTargetA version of WCAG and a level; covers(), criteria(), describe().
StandardWcag20, Wcag21, Wcag22; title(), url(), includes().
ConformanceStatusFull, Partial, NonConformant; derive().
NonConformityA success criterion not met, with its reason, description, alternative, date of fix, occurrences and origin; failedCriteria().
NonConformityReasonNonCompliance, DisproportionateBurden, OutOfScope; countsAgainstConformance().
FeedbackContactEmail, telephone, page, postal address, days to answer; phoneUri().
EnforcementThe procedure, the authority and its page.
EvaluationThe moment, method, pages and report of the last evaluation.
EvaluationMethodSelfAssessment, ThirdParty, Automated.
LocalizedTextA plain text per language tag; of(), in(), has(), locales().
AddressThe check of the addresses a statement links to.
CriterionTitlesfrench(): the titles of the success criteria in the W3C Authorized Translation of WCAG 2.2 into French, by number.
Audit\AuditResultAn audit: moment, pages, method, report.
Audit\AuditedPageA page of an audit and its Report.
Audit\ReportReaderReads back the JSON of a report of phil/accessibility-check.
Contract\AuditSourceThe port that gives the latest audit.
Exception\AccessibilityStatementExceptionWhat every exception of the library implements.
Exception\InvalidStatementA statement, a part or data that cannot be published or read.
Exception\InvalidReportA report that cannot be read back.