-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Action Performed:
Prerequisites:
- the user is signed in
- Using Android TalkBack or iOS VoiceOver, open the Expensify app
- Swipe to the 'Continue' button and double-tap to activate without entering the phone or email
- Once the error message appears, swipe to focus the field in error.
- Note what is naunced.
Other Occurrences:
- On Sign In - Enter Code
- Onboarding: all fields in the flow
- On Inbox: the field 'Enter your boss's email'
- On Profile - Display Name
- On Profile - Date of Birth
- On Profile - Address
- On Profile - Legal Name
- On Profile - Verify Email
- On Security - Merge Accounts
- On Security - Merge Accounts - Enter Code
- On Security - Close Account
- On Wallet - Add Bank Account
- On Create Expense - Confirm Details
- On Save the World - I know a teacher
- 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
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
