-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Action Performed:
Precondition: User is logged in
- Using VoiceOver on iOS or TalkBack on Android, open the app
- Swipe to focus the Create tab and double-tap to activate it
- Swipe to focus the Start chat button and double-tap to activate it
- Swipe to focus the text field and type in any search query that yields no results
- When loading is complete, note if the status message "No results found" is announced
Other Occurrences:
- Wallet: Add Bank Account
- Create Workspace > Company Cards: Add Card
Expected Result:
The status message 'No results found' should be announced once it is displayed.
Actual Result:
When searching for a query that yields no results, a message such as "No results found" is displayed visually but is not announced by screen readers.
Area issue was found in:
Group chat
Failed WCAG checkpoints
WCAG 4.1.3 Status Messages
https://www.w3.org/WAI/WCAG22/Understanding/status-messages
User impact:
When appropriate roles or properties are assigned to status messages, the new content is spoken by screen readers in such a way as to assist blind and low vision users. Assigning proper roles or properties to status messages provides possible future uses and personalization opportunities, such as the potential to be exploited by assistive technologies created for users with some cognitive disabilities.
Suggested resolution:
Use accessibilityLiveRegion on Android / AccessibilityInfo.announceForAccessibility on iOS to ensure the "No results found" message is announced immediately when it appears.
https://appt.org/en/docs/react-native/samples/accessibility-live-region
https://reactnative.dev/docs/accessibilityinfo#announceforaccessibility
Environment(s)
Apple iPhone 14 Pro - iOS 18.7.1, Wi-Fi - Native (No mobile browser)
Samsung Galaxy Note10 Plus - Android 12, H0T Mobile - Native (No mobile browser)
Screenshots/Videos
Bug7007953_1763624656960.No_results_found_status_message_not_announced.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/7007953
Issue reported by: NA
Slack conversation: NA
