| @@ -137,6 +137,11 @@ Three deliberate carve-outs, each with its evidence: |
| 137 | 137 | clipped/dynamic-type artifacts. Nothing disappears silently; see |
| 138 | 138 | `noiseReason(for:)` for each rule's provenance. |
| 139 | 139 | |
| 140 | `enforcedAuditTypes` is what a fully cleared screen gets. A screen part-way |
| 141 | through its burndown passes `enforcing:` to `audit` instead, naming only the |
| 142 | categories it has cleared, so progress gates as it is made rather than waiting |
| 143 | on the whole screen. Monitoring Settings is the first: `.textClipped` only. |
| 144 | |
| 140 | 145 | Enforcement is a committed constant rather than a CI setting, for two reasons. |
| 141 | 146 | Environment variables do not work: neither a plain `xcodebuild` env var nor a |
| 142 | 147 | `TEST_RUNNER_`-prefixed build setting reaches the UI test process, so the toggle |
| @@ -196,6 +201,120 @@ settings forms with the most rows. |
| 196 | 201 | App Info is the inverse: 17 findings, 2 real, the rest system-field and |
| 197 | 202 | unattributed artefacts already characterised in `noiseReason(for:)`. |
| 198 | 203 | |
| 204 | The counts above are the floor tier (iPhone 16, iOS 18.6). The current tier |
| 205 | reports fewer on every screen — Monitoring Settings 13 against 8, App Info 17 |
| 206 | against 5 — which is the asymmetry the coverage table below already records, |
| 207 | measured here across ten more screens. |
| 208 | |
| 209 | ## Menu pickers clip their value at accessibility text sizes |
| 210 | |
| 211 | A `Picker` in a `Form` renders as a menu button: the label takes the width it |
| 212 | needs and the value gets what is left, on one line. At `AccessibilityXXXL` on |
| 213 | an iPhone 16 that leaves nothing. Measured on Monitoring Settings before the |
| 214 | fix: |
| 215 | |
| 216 | | Row | Value | Rendered | |
| 217 | | --- | --- | --- | |
| 218 | | Base Interval | Every 12 Hours | `E…rs` | |
| 219 | | Notify For | Critical + Warnings | `C…s` | |
| 220 | | Domains | All Tracked | `A…d` | |
| 221 | | Sensitivity | Medium | `Medium` | |
| 222 | |
| 223 | Three treatments were measured. Only the third works: |
| 224 | |
| 225 | - **`.fixedSize(horizontal: false, vertical: true)`** — no change. The menu |
| 226 | button ignores it. |
| 227 | - **Stacking the label above the menu** in a `VStack` at accessibility sizes — |
| 228 | the label gets full width, but the value still truncates |
| 229 | (`Criti…nings`). The menu's value is one line whatever width it gets. |
| 230 | - **`.pickerStyle(.navigationLink)`** — the row becomes label over value with a |
| 231 | chevron, both in full, and the options move to a pushed list. This is what |
| 232 | iOS Settings itself does at these sizes. |
| 233 | |
| 234 | `AdaptivePicker` (`DomainDigUI.swift`) applies the third only when |
| 235 | `dynamicTypeSize.isAccessibilitySize`, and stays a menu below that, so the |
| 236 | interaction is unchanged for anyone not using accessibility text. It replaces |
| 237 | the eight `Picker`s on History & Network and Monitoring Settings, the two |
| 238 | quiet-hours pickers among them — those render only while the toggle is on, so |
| 239 | the audit has never seen them, but they are the same construct. |
| 240 | |
| 241 | Result on the floor tier: `textClipped` on Monitoring Settings goes from 5 to |
| 242 | 0, and on History & Network from 3 to 1. Both screens are clipping-free on the |
| 243 | current tier. Monitoring Settings is therefore the first Settings destination |
| 244 | to gate rather than report, on `.textClipped` alone — the `enforcing:` argument |
| 245 | on `AccessibilityAuditHarness.audit` is the ratchet at screen granularity, and |
| 246 | it passes on both tiers. |
| 247 | |
| 248 | The same clipping is still reported on Display ("Compact", "Default", |
| 249 | "System") and iCloud Sync ("Merge"), which are the same construct on screens |
| 250 | outside this pass. |
| 251 | |
| 252 | ## The remaining `dynamicType` findings on Form rows are unexplained |
| 253 | |
| 254 | Every `Picker`, `Toggle` and `LabeledContent` label on these two screens |
| 255 | reports `dynamicType` "font sizes are partially unsupported", and the picker |
| 256 | fix above does not change that. Eight on Monitoring Settings, five named on |
| 257 | History & Network, the same names on both runtimes. |
| 258 | |
| 259 | They are reproducible — identical on the floor and current tiers, and |
| 260 | identical across repeat runs — but nothing was found that distinguishes a row |
| 261 | that reports from one that does not: |
| 262 | |
| 263 | - **The same constructs report nothing.** `Text`, `Text` with the density |
| 264 | caption font, `Toggle` and `LabeledContent` inserted as probe rows into the |
| 265 | same `Form` all audit clean. |
| 266 | - **Inserting rows moves the findings.** With five probe rows above them, |
| 267 | "Adaptive Monitoring" began reporting and "Enable Background Monitoring" |
| 268 | stopped, and "Background Refresh" and "Notification Access" switched from |
| 269 | `dynamicType` to `contrast`. An element's font scalability does not change |
| 270 | because rows were inserted above it, so whatever the check measures depends |
| 271 | on where the row sits, not on the row. |
| 272 | - **The rows render correctly.** Captured at `XXL` and `AccessibilityXXXL`: |
| 273 | every named label scales, wraps and reads in full. Nothing is truncated and |
| 274 | nothing stops growing. |
| 275 | |
| 276 | So the finding does not point at a defect in the label it names, and no fix |
| 277 | follows from it. They stay reported rather than suppressed: a `noiseReason` |
| 278 | rule broad enough to cover them would also hide a real regression on any Form |
| 279 | row. `dynamicType` is not enforced on these screens. |
| 280 | |
| 281 | ## The Settings root fails the enforced audit on the current runtime |
| 282 | |
| 283 | Found while measuring the above, and **not caused by it** — reproduced with the |
| 284 | change stashed, on `main` at `02a3463`: |
| 285 | |
| 286 | ``` |
| 287 | settings: 7 finding(s) |
| 288 | • [FAIL][dynamicType] ... — "Local API" |
| 289 | • [FAIL][dynamicType] ... — "Monitoring Settings" |
| 290 | • [FAIL][dynamicType] ... — "iCloud Sync" |
| 291 | ``` |
| 292 | |
| 293 | `testSettingsScreen` is an enforced test, and this fails it on iOS 27.0. The |
| 294 | floor tier passes. The pre-push hook runs the floor tier only and there is no |
| 295 | CI, so nothing has been looking at the current tier since the hook was wired |
| 296 | up. |
| 297 | |
| 298 | The three are the same unexplained finding as above: all twelve rows in the |
| 299 | Settings root are an identical `NavigationLink("Title") { … }`, the three named |
| 300 | are consecutive middle rows, and the set is the same on repeat runs. It needs a |
| 301 | decision — suppress, or widen the hook to both tiers and accept a red gate — |
| 302 | rather than a quiet carve-out. |
| 303 | |
| 304 | ## Long navigation titles clip |
| 305 | |
| 306 | `textClipped` is reported against the navigation title of exactly the screens |
| 307 | whose title is 15 characters or more: History & Network, Scheduled Reports, |
| 308 | Import & Export, Data Management. The short ones — Display, Monitoring, Local |
| 309 | API, iCloud Sync — are clean. The large title renders in full at default size; |
| 310 | it is the growth at larger sizes that does not fit, and SwiftUI does not wrap a |
| 311 | large title. |
| 312 | |
| 313 | The only remedy in app code is a shorter title, which for these four would mean |
| 314 | naming the screen something other than what the Settings row that opens it |
| 315 | says. Left as reported. It is the one `textClipped` finding still open on |
| 316 | History & Network, and why that screen stays report-only. |
| 317 | |
| 199 | 318 | ## Recent searches are never audited |
| 200 | 319 | |
| 201 | 320 | The empty-state suite launches a fresh install, so Inspect's recent-searches |
| @@ -242,41 +361,6 @@ Measured: the same full `xcodebuild test` that reported one enforced failure |
| 242 | 361 | reports none, `AccessibilityAuditTests` goes from 13 of 14 passing to 14, and |
| 243 | 362 | `tracked-domains` is back to a single characterised-noise finding. |
| 244 | 363 | |
| 245 | | ## Recent searches are never audited |
| 246 | | |
| 247 | | The empty-state suite launches a fresh install, so Inspect's recent-searches |
| 248 | | section — which only appears once a lookup has been run — is never in the tree |
| 249 | | when the audit walks it. Driving one real lookup and re-auditing surfaced four |
| 250 | | findings in it on iOS 27.0: |
| 251 | | |
| 252 | | - `dynamicType` on the "RECENT" header and on the "Clear" button |
| 253 | | - `hitRegion` too small on "Clear" |
| 254 | | - `sufficientElementDescription`, "label not human-readable", on a domain chip |
| 255 | | |
| 256 | | These are latent rather than new: nothing in the section changed when Inspect |
| 257 | | moved to a `List`. They need a seeded recent-searches fixture to be audited |
| 258 | | properly, which the seed harness does not have. |
| 259 | | |
| 260 | | ## The empty-state screens are not reliably empty |
| 261 | | |
| 262 | | `AccessibilityAuditHarness.launch` only adds launch arguments; it never resets |
| 263 | | the app's store. A `seeded: true` test therefore leaves its fixtures behind, and |
| 264 | | any later non-seeded launch audits a populated app rather than an empty one. |
| 265 | | |
| 266 | | Measured: `testTrackedDomainsScreen` reports 1 finding and passes against a |
| 267 | | clean store, and 6 findings — including an enforced |
| 268 | | `[FAIL][dynamicType]` on `EditButton` — when a seeded test has run before it in |
| 269 | | the same invocation. Nothing about the screen changed between the two. |
| 270 | | |
| 271 | | So the enforced suite's result depends on execution order, which means the |
| 272 | | pre-push hook can report a failure that a re-run on a fresh simulator does not. |
| 273 | | When a `[FAIL]` appears, check it against a clean store before believing it. |
| 274 | | |
| 275 | | Fixing it properly means the harness resetting the app's store between |
| 276 | | launches — a launch argument that wipes the suite's `UserDefaults` domain |
| 277 | | would do it, and would also let the recent-searches section below be audited on |
| 278 | | purpose rather than by accident. |
| 279 | | |
| 280 | 364 | ## Why the floor runtime needs its own run |
| 281 | 365 | |
| 282 | 366 | **Audit coverage is not nested across OS versions.** Each runtime reports |