Commit 7acb2ea1c9
Verified · cmc
Layout: unified · split
Docs/ACCESSIBILITY.txt +20
| @@ -184,6 +184,26 @@ These are latent rather than new: nothing in the section changed when Inspect | ||
| 184 | 184 | moved to a `List`. They need a seeded recent-searches fixture to be audited |
| 185 | 185 | properly, which the seed harness does not have. |
| 186 | 186 | |
| 187 | ## The empty-state screens are not reliably empty | |
| 188 | ||
| 189 | `AccessibilityAuditHarness.launch` only adds launch arguments; it never resets | |
| 190 | the app's store. A `seeded: true` test therefore leaves its fixtures behind, and | |
| 191 | any later non-seeded launch audits a populated app rather than an empty one. | |
| 192 | ||
| 193 | Measured: `testTrackedDomainsScreen` reports 1 finding and passes against a | |
| 194 | clean store, and 6 findings — including an enforced | |
| 195 | `[FAIL][dynamicType]` on `EditButton` — when a seeded test has run before it in | |
| 196 | the same invocation. Nothing about the screen changed between the two. | |
| 197 | ||
| 198 | So the enforced suite's result depends on execution order, which means the | |
| 199 | pre-push hook can report a failure that a re-run on a fresh simulator does not. | |
| 200 | When a `[FAIL]` appears, check it against a clean store before believing it. | |
| 201 | ||
| 202 | Fixing it properly means the harness resetting the app's store between | |
| 203 | launches — a launch argument that wipes the suite's `UserDefaults` domain | |
| 204 | would do it, and would also let the recent-searches section below be audited on | |
| 205 | purpose rather than by accident. | |
| 206 | ||
| 187 | 207 | ## Why the floor runtime needs its own run |
| 188 | 208 | |
| 189 | 209 | **Audit coverage is not nested across OS versions.** Each runtime reports |