Generate before/after report
generate_reportGenerates an HTML report comparing accessibility audit results before and after applying fixes, including details of applied fixes.
Instructions
Build a self-contained before/after HTML accessibility report from an audit and applied fixes. No LLM. Returns the HTML string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Audited URL / page label shown in the report header. | |
| altTexts | No | Generated alt texts (target/altText/model). | |
| auditAfter | No | AuditResult after fixes (after column). | |
| auditBefore | Yes | AuditResult from audit_page (before fixes). | |
| generatedAt | No | Optional timestamp shown in the header. | |
| simpleFixes | No | AppliedFix[] from simple_fixes. | |
| contrastFixes | No | ContrastReinjection[] from the contrast glue. |