Skip to content

fix(a11y): associate Token and Memo labels in RemittanceForm#1272

Merged
ogazboiz merged 2 commits into
LabsCrypt:mainfrom
kingbitnation:fix/1230-remittance-form-label-associations
Jun 28, 2026
Merged

fix(a11y): associate Token and Memo labels in RemittanceForm#1272
ogazboiz merged 2 commits into
LabsCrypt:mainfrom
kingbitnation:fix/1230-remittance-form-label-associations

Conversation

@kingbitnation

Copy link
Copy Markdown
Contributor

Summary

  • Add htmlFor/id pairs for the Token select (token) and Memo textarea (memo) in RemittanceForm
  • Update tests to query both controls via getByLabelText instead of placeholder/display value

Why

Labels were visually present but not programmatically associated with their controls (WCAG 1.3.1 / 4.1.2). Screen readers and Testing Library could not resolve accessible names for these fields.

Test plan

  • Token select is reachable via getByLabelText(/^Token/)
  • Memo textarea is reachable via getByLabelText(/^Memo/)
  • npm test -- --testPathPattern=RemittanceForm.test (local env had incomplete node_modules)

Closes #1230

Wire label htmlFor to matching control ids so screen readers and tests
can resolve accessible names for the token select and memo textarea.

Closes LabsCrypt#1230
@ogazboiz ogazboiz merged commit 51757b2 into LabsCrypt:main Jun 28, 2026
5 of 9 checks passed
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.

[Frontend] Send Remittance Token select and Memo textarea have labels that are not programmatically associated

2 participants