Skip to content

chore(ui): add accessibility identifiers to the Send address field - #1187

Merged
romchornyi merged 1 commit into
developfrom
fix/send-address-identifier
Oct 5, 2026
Merged

romchornyi merged 1 commit into
developfrom
fix/send-address-identifier

Conversation

@romchornyi

@romchornyi romchornyi commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Closes #1184.

The address slot on the Send screen had no accessibility identifier, so a UI test had nothing stable to select it by: the editable field only has a placeholder, which disappears once a character is typed, and the card that replaces the field after a valid address shows a middle-truncated address, different for every address. An automated check of address validation had to tap the field by screen coordinates.

What was done?

Two identifiers in SendScreen.swift, in the snake_case style the app already uses:

  • send_address_field on the editable TextField;
  • send_address_locked on the locked address card.

They are two ids on purpose: the two views are mutually exclusive, and a test needs to tell which one is on screen.

An identifier is not spoken by VoiceOver. Nothing visible changes and the screen behaves as before.

How Has This Been Tested?

  • dashpay scheme, Debug, arm64 simulator: builds.
  • scripts/a11y_audit.py --check: no new findings.
  • On a running app (iOS 26.5 simulator, fresh wallet), with a Maestro flow that enters the Send screen: send_address_field is found and tappable while the field is editable; after a valid address is typed send_address_locked is found and send_address_field is gone.

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

The address slot on the Send screen had nothing stable for a UI test to
select: the editable field only has a placeholder, and the card that
replaces it shows a truncated address. Both now carry an identifier,
`send_address_field` and `send_address_locked`.

Identifiers are not spoken by VoiceOver; nothing visible changes.

Closes #1184

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 86a64dd8-982a-4e25-b1a1-d65f62df9b08
📥 Commits

Reviewing files that changed from the base of the PR and between 9cde47e and 7f82359.

📒 Files selected for processing (1)
  • DashWallet/Sources/UI/Payments/Pay/SendScreen.swift
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thepastaclaw

thepastaclaw commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Final review complete — no blockers (commit 7f82359) · triage: low

@romchornyi
romchornyi marked this pull request as ready for review October 5, 2026 17:25

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

Verified the complete base-to-head diff at 7f82359: the two identifiers attach to the editable TextField and locked-address Button in mutually exclusive branches for each SendScreen instance, follow existing naming conventions, and leave validation, focus handling, and payment behavior unchanged. Both reviewers' no-finding conclusions are supported by the source; no in-scope defects were found. Verification was static only: the supplied exact-head CI snapshot reports a successful accessibility audit, while the build and simulator smoke are author-reported rather than independently verified.

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: low by gpt-6.1-sol (effort low) — Adding two accessibility identifiers to mutually exclusive SwiftUI views is a small, well-contained change whose correctness is easy to confirm.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 99% left, weekly 99% left; passed over gemini-3.8-flash-high (antigravity below 15% reserve: weekly 15% left, 5h 100% left)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort medium); agent phase2-reviewer

@romchornyi
romchornyi merged commit cc85f56 into develop Oct 5, 2026
4 checks passed
@romchornyi
romchornyi deleted the fix/send-address-identifier branch October 5, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send screen: the address field has no accessibility identifier

3 participants