| @@ -131,7 +131,7 @@ With phases 1–5 landed, `AccessibilityAuditHarness.enforcedAuditTypes` enforce |
| 131 | **`.textClipped`, `.dynamicType`, `.hitRegion`, `.elementDetection`, |
131 | **`.textClipped`, `.dynamicType`, `.hitRegion`, `.elementDetection`, |
| 132 | `.sufficientElementDescription`, `.trait`** on the empty-state test suite. A |
132 | `.sufficientElementDescription`, `.trait`** on the empty-state test suite. A |
| 133 | named finding in any of these fails the test run — regressions in five phases of |
133 | named finding in any of these fails the test run — regressions in five phases of |
| 134 | work are still gated locally and at the pre-push hook, not merely reported. |
134 | work fail the audit run, not merely reported. |
| 135 | |
135 | |
| 136 | Three deliberate carve-outs, each with its evidence: |
136 | Three deliberate carve-outs, each with its evidence: |
| 137 | |
137 | |
| @@ -583,8 +583,8 @@ no single number is correct on both. |
| 583 | |
583 | |
| 584 | The audit therefore runs locally, across both ends, via |
584 | The audit therefore runs locally, across both ends, via |
| 585 | `Scripts/audit-a11y.sh` — on a machine that actually has an 18.x runtime |
585 | `Scripts/audit-a11y.sh` — on a machine that actually has an 18.x runtime |
| 586 | installed. The pre-push hook in `.githooks/` refuses a push without a recorded |
586 | installed. The audit is optional: the pre-push hook in `.githooks/` warns when |
| 587 | pass of both. |
587 | a push has no recorded pass of both, and does not block it. |
| 588 | |
588 | |
| 589 | There is no CI job. The GitHub Actions workflow that used to run this suite on |
589 | There is no CI job. The GitHub Actions workflow that used to run this suite on |
| 590 | the newest runtime has been removed, and with it the one check that no local run |
590 | the newest runtime has been removed, and with it the one check that no local run |
| @@ -619,11 +619,11 @@ so rather than implying floor coverage it does not have. |
| 619 | git config core.hooksPath .githooks |
619 | git config core.hooksPath .githooks |
| 620 | ``` |
620 | ``` |
| 621 | |
621 | |
| 622 | Runs the complexity ratchet, then refuses the push unless the tree being pushed |
622 | Runs the complexity ratchet, then warns when Swift, asset, or project files |
| 623 | has a recorded audit pass, when Swift, asset, or project files changed. Bypass |
623 | changed and the tree being pushed has no recorded audit pass. The warning does |
| 624 | with `git push --no-verify`. |
624 | not block the push. |
| 625 | |
625 | |
| 626 | Run the audit before pushing. `./Scripts/audit-a11y.sh` with no argument, on a |
626 | To check a tree, run the audit before pushing. `./Scripts/audit-a11y.sh` with no argument, on a |
| 627 | tree with no tracked changes and no untracked Swift, asset or project files, |
627 | tree with no tracked changes and no untracked Swift, asset or project files, |
| 628 | appends `HEAD^{tree}` to `a11y-audit-passed` in the common git dir when both |
628 | appends `HEAD^{tree}` to `a11y-audit-passed` in the common git dir when both |
| 629 | tiers pass. A squash or rebase that keeps the tree keeps the pass. |
629 | tiers pass. A squash or rebase that keeps the tree keeps the pass. |