Repository navigation
chore(ui): drop 111 resolved entries from the accessibility baseline - #1443
Conversation
`a11y_audit.py --check` reported 111 baseline entries that no longer match any finding. They are removed, and nothing is added: `--write-baseline` would also have recorded 38 current A11Y007 (Dynamic Type) findings, which the check prints as advisory, and recording them would silence them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
✅ Final review complete — no blockers (commit 605f404) · triage: low |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
The PR correctly removes 111 stale accessibility-baseline entries, and the supplied CI evidence shows the accessibility audit passed with no application-code changes. One documentation nit remains: the claim that none of the removed entries point to code that still exists is literally inaccurate because 11 removed records share fingerprints with findings that remain live; the ratchet behavior itself is correct.
💬 1 nitpick(s)
Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.
1 finding(s) not shown inline (the lines are not part of this PR's diff)
💬 Nitpick: PR description overstates that all removed entries point to deleted code
scripts/a11y_baseline.json:1
The baseline reduction is functionally correct, but the PR description says that “none of the 111 points at code that still exists.” At this head, 11 removed records share fingerprints with findings that the audit still produces; for example, ShieldedSyncInfoScreen.swift fingerprint 941a8431f65f2430 remains represented by nine live baseline entries after one surplus entry was removed. The precise claim is that no live finding lost coverage: each remaining live occurrence is still covered one-for-one, while surplus allowance was removed.
source: glm-5.3-flash (phase1-reviewer: general)
Review provenance
Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
lowbygpt-6.1-sol(effort low) — This is a small, self-contained baseline JSON cleanup with no application behavior or critical-surface changes, and its correctness is straightforward to verify against the audit tool and stated multiset comparison. - Phase 1 reviewers:
glm-5.3-flash— general (completed, effort high); agentphase1-reviewer - Phase 1 model:
glm-5.3-flash— zai quota: 5h 98% left, weekly 98% left; passed overgemini-3.8-flash-high(antigravity quota lookup failed) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort medium); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `scripts/a11y_baseline.json`:
- [NITPICK] scripts/a11y_baseline.json:1: PR description overstates that all removed entries point to deleted code
The baseline reduction is functionally correct, but the PR description says that “none of the 111 points at code that still exists.” At this head, 11 removed records share fingerprints with findings that the audit still produces; for example, ShieldedSyncInfoScreen.swift fingerprint 941a8431f65f2430 remains represented by nine live baseline entries after one surplus entry was removed. The precise claim is that no live finding lost coverage: each remaining live occurrence is still covered one-for-one, while surplus allowance was removed.
Summary
scripts/a11y_audit.py --checkreports that 111 entries inscripts/a11y_baseline.jsonno longer match any finding. This removes them, so a finding that comes back on those lines fails CI again (the ratchet inACCESSIBILITY.md, "After you fix something").Why not
--write-baselineRegenerating would also record 38 current A11Y007 (Dynamic Type) findings that are not in the baseline today. They are P2, so
--checkprints them as advisory and does not fail; recording them would silence them. Some are existing debt under a new path (CoinJoinMoveFundsSheet.swiftmoved intoCoinJoinMoveFunds/), the rest came with the newer transfer screens (TransferSourceRow,ShieldedRecoverySheet,TransferPreview, …). They stay advisory, as they are now.No app code changes.
Test plan
scripts/a11y_audit.py --check: no new blocking findings, no "baseline entries fixed" message left🤖 Generated with Claude Code
Summary by CodeRabbit