Commit 02a3463eed

02a3463eed5c3026e445e69d591327e88aad1a50

parent: c9d5d4266a

Unsigned

cmc <hello@cleberg.net> · 2026-10-26 06:22 UTC

Audit the ten remaining Settings destinations (!52)

The last screens in the app that had never been rendered under an
accessibility audit: Display, History & Network, Monitoring Log, Local API,
iCloud Sync, Monitoring Settings, Scheduled Reports, Import & Export, Data
Management, App Info.

`testSettingsDestinations` covers all ten in one launch. Re-selecting the
Settings tab pops it back to root, so each row is tapped from a known place,
and the store reset from !51 makes the launch state identical for every one.
98s for ten screens.

Report-only, as Integrations is: none has been through the ratchet, so gating
on first contact would fail on findings that predate the coverage.

All ten reachable, all ten audit, no enforced failures. 43 real findings and
44 characterised noise:

| Screen | Real | Noise |
| --- | --- | --- |
| Monitoring Settings | 12 | 1 |
| History & Network | 7 | 5 |
| Scheduled Reports | 5 | 1 |
| Monitoring Log | 4 | 1 |
| Import & Export | 4 | 5 |
| Display | 3 | 1 |
| Local API | 3 | 5 |
| Data Management | 2 | 8 |
| App Info | 2 | 15 |
| iCloud Sync | 1 | 2 |

By category: `dynamicType` 21, `textClipped` 15, `contrast` 6,
`elementDetection` 1.

Ref #21

Layout: unified · split

Docs/ACCESSIBILITY.txt +30 −3
@@ -165,9 +165,36 @@ rather than density-aware text — that is why they appear in both categories.
165165They go on the #21 burndown; `enforcedAuditTypes` widens to cover these screens
166166once they are clear.
167167
168The remaining Settings destinations — Display, History & Network, Local API,
169iCloud Sync, Monitoring Log, Monitoring Settings, Scheduled Reports, Import &
170Export, Data Management — are still unaudited.
168The other ten destinations are covered by `testSettingsDestinations`, also
169report-only. One launch audits all of them: re-selecting the Settings tab pops
170it back to root, so each row is tapped from a known place, and the store reset
171makes the launch state the same for every one. That is 98s for ten screens
172rather than ten launches.
173
174All ten are reachable and all ten audit. 87 findings, of which 43 are real and
17544 are already-characterised noise. **No enforced failures**, which is why the
176test passes report-only rather than needing a carve-out:
177
178| Screen | Real | Noise |
179| --- | --- | --- |
180| Monitoring Settings | 12 | 1 |
181| History & Network | 7 | 5 |
182| Scheduled Reports | 5 | 1 |
183| Monitoring Log | 4 | 1 |
184| Import & Export | 4 | 5 |
185| Display | 3 | 1 |
186| Local API | 3 | 5 |
187| Data Management | 2 | 8 |
188| App Info | 2 | 15 |
189| iCloud Sync | 1 | 2 |
190
191By category the 43 are: `dynamicType` 21, `textClipped` 15, `contrast` 6,
192`elementDetection` 1. The shape matches the rest of the burndown — text that
193does not scale and text that clips at large sizes, concentrated in the
194settings forms with the most rows.
195
196App Info is the inverse: 17 findings, 2 real, the rest system-field and
197unattributed artefacts already characterised in `noiseReason(for:)`.
171198
172199## Recent searches are never audited
173200
DomainDigUITests/AccessibilityAuditTests.swift +60
@@ -248,6 +248,66 @@ final class AccessibilityAuditTests: XCTestCase {
248248 try XCTSkipUnless(audited, "Audit did not complete in time for the integration editor")
249249 }
250250
251 /// Every remaining screen behind a Settings row.
252 ///
253 /// Integrations and the integration editor were covered in !42; these are
254 /// the ten that were still unaudited, which was the largest blind spot left
255 /// in the suite — five phases of row and caption treatment shipped without
256 /// any of them being rendered under audit.
257 ///
258 /// Report-only for the same reason as Integrations: they have never been
259 /// through the ratchet, so gating them on first contact would fail the
260 /// build on findings that predate the coverage. They are a burndown list
261 /// for #21, and `enforcedAuditTypes` widens once they are clear.
262 ///
263 /// One launch rather than ten: re-selecting the Settings tab pops it back
264 /// to root, so each destination is reached from a known place, and the
265 /// store reset means the launch state is the same for all of them.
266 func testSettingsDestinations() throws {
267 let destinations = [
268 "Display",
269 "History & Network",
270 "Monitoring Log",
271 "Local API",
272 "iCloud Sync",
273 "Monitoring Settings",
274 "Scheduled Reports",
275 "Import & Export",
276 "Data Management",
277 "App Info"
278 ]
279
280 let app = AccessibilityAuditHarness.launch()
281 var unreachable: [String] = []
282 var unaudited: [String] = []
283
284 for destination in destinations {
285 // Pops any previous push, so each row is tapped from the root.
286 app.selectRootTab("Settings")
287
288 let row = app.buttons[destination]
289 guard row.waitForExistence(timeout: 5) else {
290 unreachable.append(destination)
291 continue
292 }
293 row.tap()
294
295 let screen = destination
296 .lowercased()
297 .replacingOccurrences(of: " & ", with: "-")
298 .replacingOccurrences(of: " ", with: "-")
299 if try !AccessibilityAuditHarness.audit(app, screen: screen, test: self, reportOnly: true) {
300 unaudited.append(destination)
301 }
302 }
303
304 XCTAssertEqual(unreachable, [], "Settings no longer offers these rows")
305 try XCTSkipUnless(
306 unaudited.isEmpty,
307 "Audit did not complete in time for: \(unaudited.joined(separator: ", "))"
308 )
309 }
310
251311 private func auditRootTab(_ tab: String) throws {
252312 let app = AccessibilityAuditHarness.launch()
253313 app.selectRootTab(tab)