Repository navigation
fix(transaction): read a transaction row as one element in its own order - #93
Conversation
VoiceOver read a row by position, so the vertically centered amount came before the time, and a named badge came before the title. The row is now one element labeled title, subtitle, details, badge, status, amount, fiat. Part of dashpay#38. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
romchornyi
left a comment
There was a problem hiding this comment.
✅ No blockers, no major · 2 non-blocking recommendations — reviewed at 55a6b11aea
| Level | Verdict | |
|---|---|---|
| 1 · Idea | ✅ valid | A row without an action was four VoiceOver stops in screen-position order, amount before time (#38). |
| 2 · Architecture | ✅ right layer | The component owns the reading order; hosts change nothing. |
| 3 · Completeness | ✅ complete | Top text, title, subtitle, details, the named badge, status, amount with currency, fiat; the test covers the order, the named badge and the minimal row. |
| 4 · Code | ✅ clean | The badge joins only when both secondaryIcon and its label are set; a row with an action stays one button with the same label. |
2 non-blocking recommendations
amountAccessorySystemImageis not read — on anamountSign: .nonerow (a wallet-internal transfer) the direction now reaches VoiceOver only through the title. Worth one line indocs/foundation.md: such a row names its direction in the title.- A host's
iconViewlabel is ignored — an avatar's accessibility label (a contact's name) no longer reaches VoiceOver. The same doc line could say the title carries anything the icon view means.
Review details
Levels 1–3 and the code read at this head, including the host app's rows built on TransactionView. Not checked with VoiceOver on a device.
🤖 Reviewed with Claude Code
amountAccessorySystemImage and an iconView's label are not read, so the title or details name the direction or the contact. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Both recommendations addressed in a747c32: |
romchornyi
left a comment
There was a problem hiding this comment.
✅ Both recommendations closed · 1 nit — re-reviewed at a747c32764
Closed since the last review
-
docs/foundation.mdsays a row's icons are not read, so the title names the direction of anamountSign: .nonerow and the title or details name the contact behind aniconViewavatar.
1 nit
- The docs now contradict themselves on
amountAccessorySystemImage—foundation.md#L139still listsTransactionView.amountAccessorySystemImageunder "Still read on their own", while the new paragraph below says it does not reach VoiceOver (the row ignores its children). Dropping it from that list is a one-line fix. (verified by reading)
🤖 Reviewed with Claude Code
… read The row is one element now, so the symbol is not read on its own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
romchornyi
left a comment
There was a problem hiding this comment.
✅ Nit closed · nothing open — re-reviewed at 7bbba5182d
Closed since the last review
-
amountAccessorySystemImageleft the "Still read on their own" list;docs/foundation.mdnow says the same thing in both paragraphs. - The merge of
master(with #92) had no conflicts: the row's spoken amount andDashAmountsharespokenAmount, so both read "-1.5 Dash".
🤖 Reviewed with Claude Code
Issue being fixed or feature implemented
Part of #38. Left to its children, a
TransactionViewrow was read by position on screen: the amount is centered vertically, so it came before the time. A row with an action was already one button, but a named badge (secondaryIconAccessibilityLabel(_:)) was read first. Measured by walking the accessibility tree the way VoiceOver does (iPhone 17 simulator, iOS 26.5):What was done?
secondaryIconthe host named. A host'siconView(an avatar, a logo) andamountAccessorySystemImageare not read.docs/foundation.mddescribes the order.No public API change. Rows with an action still start with the title, so a UI test matching
^Sent, 8:34…still matches.How Has This Been Tested?
VoiceOverLabelTests.testATransactionRowReadsTitleFirstAndTheAmountLastpins the order, with and without a named badge and with only the required fields. Whole suite andconventions.shpass.Before / After
Only accessibility changes; nothing is drawn differently.
Breaking Changes
None in the API. A row without an action is one VoiceOver stop instead of several, and a named badge is read after the details instead of first.
Checklist:
🤖 Generated with Claude Code