a11y-toolkit: Accessibility statement (EAA/RD 1112)
a11y_generate_declarationGenerate an accessible HTML accessibility statement for Spanish RD 1112/2018 or the European Accessibility Act, covering conformance status, feedback, complaints, and non-accessible content.
Instructions
Generates an Accessibility Statement in HTML: art. 10 RD 1112/2018 (Spanish public sector, framework="rd1112") or European Accessibility Act wording (Directive (EU) 2019/882 / Ley 11/2023, framework="eaa"; EN output uses Directive (EU) 2016/2102 / EAA wording). The generated document is itself accessible. Saves to output_path when given. — Legal statement generator; drive inaccessible_content from audit findings and a11y_evidence. Returns {html, summary} — the accessible legal statement; writes a file only when output_path is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Website URL the statement covers | |
| lang | No | Statement language (default en; es uses the Spanish legal wording) | |
| entity | Yes | Legal entity name as it should appear in the statement | |
| method | No | How conformance was evaluated (e.g. "self-evaluation: a11y-toolkit screening + manual review") | |
| status | Yes | Compliance state: full | partial | not_conformant (plena | parcial | no_conforme, pre-5.11, still accepted as aliases) | |
| feedback | No | Contact channel for accessibility feedback (email or URL) | |
| framework | No | rd1112 (Spanish public sector, art. 10) or eaa (European Accessibility Act / private sector) | |
| complaints | No | Claim/complaint procedure URL or address (legally required in several jurisdictions) | |
| output_path | No | save the HTML here (optional) | |
| review_date | No | ISO date of the next scheduled review | |
| evaluation_date | No | ISO date of the last evaluation (YYYY-MM-DD) | |
| alternative_format | No | Where to get the content in an alternative accessible format | |
| inaccessible_content | No | Non-accessible content list: one string per item, ideally criterion + reason + alternative |