Skip to main content

build_compliance_report

Function build_compliance_report 

Source
pub fn build_compliance_report(
    pages_scanned: usize,
    failed: &HashSet<String>,
) -> WcagComplianceReport
Expand description

Constructs the WCAG 2.2 compliance matrix. Marks all_pages_pass=false for any criterion that produced at least one issue across the scan.

failed should contain the AccessibilityIssue::criterion of every issue raised by crate::check_page across all scanned pages.