Plumb · audit
plumb_auditRuns heuristic accessibility checks on a PDS snapshot, identifying text contrast issues against resolved background color and button touch-target size violations.
Instructions
Heuristic accessibility audit over a PDS snapshot — pass the raw JSON response from a prior plumb_node/plumb_outline/plumb_query call. Checks today: text contrast against its resolved ancestor background (WCAG AA, large-text threshold applied at ≥24px) and role:"button" nodes under the 44×44px minimum touch-target size. Each finding carries a plain-language note plus the raw ratio/box data. This is a heuristic problem-finder, not a certified WCAG audit — it reports failures only (a clean result means the checks it runs found nothing, not that the screen is fully accessible), and heading-order / missing-alt-text checks aren't built yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | A full PdsDocument object exactly as returned by plumb_node / plumb_outline / plumb_query. |