You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People with mobility impairments who must rely on keyboard access for operating a page benefit from a logical, usable focus order. People with vision impairments or disabilities that make reading difficult can become disoriented when tabbing takes focus someplace unexpected or when they cannot easily find the content surrounding an interactive element. Only a small portion of the page may be visible to an individual using a screen magnifier at a high level of magnification. Such a user may interpret a field in the wrong context if the focus order is not logical.
Action Performed:
Precondition: User is logged in
This is a global issue occurring in all OTP screens.
Other Occurrences:
Expected Result:
After requesting a new OTP code, focus should move to the first OTP cell so users can enter the new code.
Actual Result:
Focus resets to the Back button instead.
Users lose context and must manually navigate to the OTP field again.
Area issue was found in:
Profile Subsections
Failed WCAG checkpoints
WCAG 2.4.3 Focus Order
https://www.w3.org/WAI/WCAG22/Understanding/focus-order
User impact:
People with mobility impairments who must rely on keyboard access for operating a page benefit from a logical, usable focus order. People with vision impairments or disabilities that make reading difficult can become disoriented when tabbing takes focus someplace unexpected or when they cannot easily find the content surrounding an interactive element. Only a small portion of the page may be visible to an individual using a screen magnifier at a high level of magnification. Such a user may interpret a field in the wrong context if the focus order is not logical.
Suggested resolution:
Set focus to the first OTP field programmatically after requesting a new code.
https://reactnative.dev/docs/accessibilityinfo#setaccessibilityfocus
https://appt.org/en/docs/react-native/samples/accessibility-focus
Environment(s)
Samsung Galaxy Note10 Plus - Android 12, H0T Mobile - Native (No mobile browser)
Screenshots/Videos
Bug7008083_1763623763234.Incorrect_focus_movement_after_requesting_new_OTP_code.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/7008083
Issue reported by: NA
Slack conversation: NA