a11y_report
Read-only WCAG ACCESSIBILITY quality report for the project (task 991): per key/surface/locale a11y gaps with by_gap / by_severity / by_surface rollups + per-item details. Gap types: a11y_untranslated (a source a11y override exists but this target locale lacks it), alt_missing (image key with no source alt_text), reading_level_high (hard source text + no plain_language), a11y_variant_absent (a require_surface is missing in the source). Gaps are TYPE-AWARE: only treatments relevant to each key's type are reported (e.g. alt_missing only on image keys, aria gaps only on buttons/links/inputs), so a text key is never flagged for aria/alt. Defaults to the production version. Surfaced verbatim - use list_a11y_gaps for just the actionable item list.
Parameters
Section titled “Parameters”| Name | Type | Description | |
|---|---|---|---|
project_uuid | string | optional | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
version_id | string | optional | Optional version UUID; defaults to the production version. |
require_surface | array | optional | a11y surfaces to additionally flag as ABSENT in the source (produces a11y_variant_absent gaps), e.g. ['aria_label','alt_text']. |
reading_level_max_words | integer | optional | Readability heuristic threshold (sentence length) for reading_level_high gaps. Default 15 server-side. |
Example
Section titled “Example”{ "tool": "a11y_report", "arguments": {}}