Aller au contenu

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.

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
version_idstringoptionnelOptional version UUID; defaults to the production version.
require_surfacearrayoptionnela11y surfaces to additionally flag as ABSENT in the source (produces a11y_variant_absent gaps), e.g. ['aria_label','alt_text'].
reading_level_max_wordsintegeroptionnelReadability heuristic threshold (sentence length) for reading_level_high gaps. Default 15 server-side.
{
"tool": "a11y_report",
"arguments": {}
}