Skip to content

Screen Reader: Many Pages: The displayed error message is not associated with the input field #77255

@elisenwazuoke

Description

@elisenwazuoke

Action Performed:

Prerequisites:

  • the user is signed in
  1. Using Android TalkBack or iOS VoiceOver, open the Expensify app
  2. Swipe to the 'Continue' button and double-tap to activate without entering the phone or email
  3. Once the error message appears, swipe to focus the field in error.
  4. Note what is naunced.

Other Occurrences:

  1. On Sign In - Enter Code
  2. Onboarding: all fields in the flow
  3. On Inbox: the field 'Enter your boss's email'
  4. On Profile - Display Name
  5. On Profile - Date of Birth
  6. On Profile - Address
  7. On Profile - Legal Name
  8. On Profile - Verify Email
  9. On Security - Merge Accounts
  10. On Security - Merge Accounts - Enter Code
  11. On Security - Close Account
  12. On Wallet - Add Bank Account
  13. On Create Expense - Confirm Details
  14. On Save the World - I know a teacher
  15. On Create Workspace

Expected Result:

The error message should be announced together with the field's label and role.

Actual Result:

The displayed error message is not associated with the field.

Area issue was found in:

Where did we find this issue?

Failed WCAG checkpoints

WCAG 1.3.1 Info and Relationships
https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships

User impact:

Users with different disabilities employ assistive technology to adapt content according to their specific needs. For example, users who are blind (using a screen reader) benefit when information conveyed through color is also available in text (including text alternatives for images that use color to convey information), and users who are deaf-blind and use braille (text) refreshable displays may be unable to access color-dependent information.

Suggested resolution:

One way is to add the error message as part of accessibilityHint, so that it announces when focusing the field.
https://appt.org/en/docs/react-native/samples/accessibility-hint

Environment(s)

Samsung Galaxy S24 Ultra - Android 14, Partner - Native (No mobile browser)

Screenshots/Videos

Image

Bug7005004_1763269511969.The_displayed_error_message_is_not_associated_with_the_input_field__2_.mp4

Version Number: Production
Reproducible in staging?: NA
Reproducible in production?: Yes
Email or phone of affected tester (no customers): NA
Logs: https://stackoverflow.com/c/expensify/questions/4856 NA
Notes/Photos/Videos: Any additional supporting documentation Yes
Expensify/Expensify Issue URL: https://platform.applause.com/company/12102/products/36628/community-issues/7005004
Issue reported by: NA
Slack conversation: NA

Metadata

Metadata

Assignees

Labels

AccessibilityIssues affecting WACG accessibility on any platform.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions